[IronPython] Online IronPython interpreter and DLRconsole.

Jimmy Schementi Jimmy.Schementi at microsoft.com
Sat Dec 20 01:56:04 CET 2008

DLRConsole isn't really reusable today, which is why I've been rewriting it in C# and adding it to Microsoft.Scripting.Silverlight: (http://github.com/jschementi/agdlr). It can be enabled by putting console=true in initParams (http://blog.jimmy.schementi.com/2008/11/repls-in-silverlight.html). It's a HTML based console, with a <input type="text" ... /> for input. I tried a <textarea> for a while and it just complicated things. I stayed away from using Silverlight controls and such, because it wouldn't work for a HTML-only Silverlight app. HTML is just fine for this type of thing, but it would be nice to have a Silverlight UI implementation. Maybe combine my work and SilverShell? =)

(P.S. Jim Hugunin wrote the initial version of DLRConsole ... I've only kept it working =))

Michael Foord wrote:
> xkrja wrote:
> > I've seen Michael Foord's "Interactive Interpreter" made in
> Silverlight 2 and
> > the DLRconsole (I assume made by Jimmy Schementi) and I like them a
> lot.
> >
> > But my question is: What controls have been used to mimic the console
> > "feeling"? I've tried to read the source code but can't find how it's
> built
> > up. I would like something similar but can't figure out how to do it.
> >
> > Of course I can go with a textblock and textbox but that wouldn't
> give the
> > real feeling.
> >
> > Thanks for any help!
> >
> My project ('Python in the Browser') doesn't use any controls. It works
> with an HTML textarea and Javascript. When I get any time to work on it
> I will probably change this - but still use HTML components rather than
> Silverlight controls.
> You might like to also check out Dan Eloff's very slick Silvershell:
> http://code.google.com/p/silvershell/
> Michael Foord

More information about the Ironpython-users mailing list