[IronPython] Dear Lazy Web - IronPython 2 Parser

Michael Foord fuzzyman at voidspace.org.uk
Wed Aug 8 15:50:01 PDT 2007


Hello all,

Sorry for being lazy, but...

What is the easiest way of  building an AST from IronPython 2 code? I 
would like an AST that I can modify and then flatten again in 
Silverlight.... It needn't be a Python AST, an IronPython one is fine. I 
only need access to 'name' nodes... I wish to change some of the names 
and turn the AST back into code before exec'ing.

:-)

Thanks


Michael
http://www.ironpython.info/


More information about the Users mailing list