[IronPython] First cut of an interactive IronPython Interpreter running in the browser
fuzzyman at voidspace.org.uk
Sun Jun 15 23:09:38 CEST 2008
2008/6/15 Jonathan Slenders <jonathan at slenders.be>:
> Good work, this looks useful. Maybe you also want to capture the 'tab'-key
> -- I hate spaces for indentation.
> Some bug I noticed, when calling stdout.write myself:
This bug - along with not handling syntax errors properly - should now be
fixed (both in SVN and the online demo).
> Python 2.5.0 () on silverlight
>> The interactive browser interpreter by Michael Foord
>> >>> import sys
>> >>> sys.stdout.write('test')
>> test>>> print 'a'
>> ... print 'b'
> I guess it's also impossible to ever capture sys.__stdout__ or
> sys.__stderr__ in silverlight, apart from writing a IronPython host in c#.
> 2008/6/15 Michael Foord <fuzzyman at voidspace.org.uk>:
>> Michael Foord wrote:
>>> Well, I've finally converted my Silverlight interactive interpreter to
>>> work with Silverlight 2 Beta 2 - and it works!
>> Hmmm... damn. Still doesn't handle syntax errors properly. This may well
>> be the fault of my code though - I'll need to look into it.
>> For non syntax-errors it seems to be working fine.
>> If you really want to see the source you can get it from the xap file:
>> I might start a google project to get an SVN repository for the code.
>> Michael Foord
>>> There's no download yet and I've only tested on Firefox 3 and Safari (but
>>> needed to get it working on FF 2 and IE).
>>> It also doesn't include much of the standard library yet either - but
>>> this could be great for tutorials and interactive documentation.
>>> Michael Foord
>> Users mailing list
>> Users at lists.ironpython.com
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users