[IronPython] replacing engine.evaluate by CreateLambda

2007-09-24 Thread Christian Schmidt
Hello community, How can I replace the 3 parameter Evaluate-function from PythonEngine engine.Evaluate(expression, module, locals) where expression is a string, module is a EngineModule and locals is a IDictionary by something like delegate object Expression(IDictionary locals) Expression

Re: [IronPython] [python] Re: Missing Compiler Flag

2007-09-24 Thread Michael Foord
On Sep 21, 10:53 pm, Michael Foord <[EMAIL PROTECTED]> wrote: > Hello Dino, > > I think I've got it. With this flag set, the compile function will > return None *if* an indented line would be valid. > > This allows the interactive interpreter to decide which prompt to > present the user with (and

Re: [IronPython] DLR Documentation?

2007-09-24 Thread Lee Culver
Excellent, thanks guys. This should definitely get me going. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Maly Sent: Monday, September 24, 2007 9:18 AM To: Discussion of IronPython Subject: Re: [IronPython] DLR Documentation? There is a MSDN ar

Re: [IronPython] DLR Documentation?

2007-09-24 Thread Martin Maly
There is a MSDN article that very recently got published in October 2007 issue of MSDN magazine that can also help fill in some gaps: http://msdn.microsoft.com/msdnmag/issues/07/10/CLRInsideOut/default.aspx Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

Re: [IronPython] DLR Documentation?

2007-09-24 Thread Dino Viehland
Unfortunately we don't have any great sources of documentation. The way you do any dynamic invocation is usually through a DynamicSite - which is the fastest way to do it. There's also another way you could do this which is via ScriptEngine.CallObject - which is the simplest way to do it. Ult