You could take a look at IronPython 1.x's CodeDom support in IronPython.CodeDom.Provider. From there you can get the generator and throw CodeDom trees at it. It can generate a bunch of ugliness to support WinForms but by default it doesn't do that. Unfortunately it hasn't been updated to 2.0 but of course the source is available :)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stephens Sent: Monday, June 30, 2008 6:14 PM To: Discussion of IronPython Subject: [IronPython] Python Generation I am writing a macro->python translation utility for our system. I thought I struck it rich when i found IronPython.Compiler.Ast . But there doesn't seem to be a good way to take these things and generate python code (strings). If anyone knows any spiffy libraries out there to do this that would be awesome too. Michael Stephens Electrical Engineering Graduate Student University of Wyoming [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> or [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
