Re: [IronPython] SourceCodeKind.Statements versus SourceCodeKind.InteractiveCode

2008-12-06 Thread Dan Eloff
On Sat, Dec 6, 2008 at 6:33 PM, Jeff Slutter <[EMAIL PROTECTED]> wrote: > I'm working on getting an interactive script console into my > application. Information on how to do this is a bit hard to find but I > came across an app.py by Jim Hugunin showing how to do it with Silverlight. You may find

Re: [IronPython] SourceCodeKind.Statements versus SourceCodeKind.InteractiveCode

2008-12-06 Thread Dino Viehland
This behavior is actually defined by CPython which specs interactive input as being: interactive_input ::= [stmt_list] NEWLINE | compound_stmt NEWLINE The stmt_list allows the semi-colon delinated lines and the compound_stmt allows a single statement. The idea here is that this is for a conso