Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-03 Thread Tuomas Utrecht
Le 2 mars 2012 11:26, Jeff Hardy a écrit : > On Fri, Mar 2, 2012 at 5:31 AM, Tuomas Utrecht > wrote: > > I have body of possible Excel formulas which are identical to Python > syntax, > > except for the use of ^. > > If that's the case, why not rewrite them as

Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-02 Thread Tuomas Utrecht
ng your >> users a disservice by teaching them a language that's almost the same as >> Python, but different in just one minor and hard-to-debug respect. >> >> On Thu, Mar 1, 2012 at 12:31 PM, Tuomas Utrecht > > wrote: >> >>> Hello, >>> >>

Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-02 Thread Tuomas Utrecht
ong other reasons. > On Thu, Mar 1, 2012 at 12:31 PM, Tuomas Utrecht > wrote: > >> Hello, >> >> I apologize if this has been answered elsewhere, but I am unable to find >> anything up to date, or that covers my question in particular. >> >> The short versio

Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-01 Thread Tuomas Utrecht
to create a ScriptCode or compile > it, but I’m not 100% certain. > > ** ** > > *From:* > [email protected][mailto: > [email protected]] *On > Behalf Of *Tuomas Utrecht > *Sent:* Thu

[Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-01 Thread Tuomas Utrecht
Hello, I apologize if this has been answered elsewhere, but I am unable to find anything up to date, or that covers my question in particular. The short version is: Can I modify the AST of a parsed file before compiling/executing in an embedded context? I want to allow simple, Excel-like statemen