[IronPython] Python Generation
dinov at exchange.microsoft.com
Tue Jul 1 03:33:20 CEST 2008
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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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.
Electrical Engineering Graduate Student
University of Wyoming
falcon at uwyo.edu<mailto:falcon at uwyo.edu> or 89iroc at gmail.com<mailto:89iroc at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users