[IronPython] Building via AST
justin.m.chase at gmail.com
Mon Apr 12 13:21:11 PDT 2010
Suppose I would like to build an AST programmatically and compile that into
an assembly dynamically (meaning an assembly flagged with RunAndCollect)
from C#. How would I do that with IronPython's help? I do not what to author
Python code and compile that I would like to just deal directly with the
Currently I have working code where I'm using System.Linq.Expression
namespace to build statements and expressions into delegates but what I
would like is to leverage the DLR to build dynamic types as well (without
having to use ILGenerator preferably). Is this possible today?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users