[IronPython] Python Generation

Dino Viehland dinov at exchange.microsoft.com
Fri Jul 11 20:02:48 CEST 2008


FYI we just talked about this in our team meeting today and it looks like we'll bring this back for 2.0.  We'll only bring back the generator side - that's pretty simple to port and it's not ugly like the parser and merging support is.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Stephens
Sent: Wednesday, July 02, 2008 7:18 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Python Generation

Is this a feature that will be still available in 2.0?
Michael Stephens

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>
On Mon, Jun 30, 2008 at 7:33 PM, Dino Viehland <dinov at exchange.microsoft.com<mailto:dinov at exchange.microsoft.com>> wrote:

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> [mailto: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.

Michael Stephens

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>

_______________________________________________
Users mailing list
Users at lists.ironpython.com<mailto:Users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080711/9cdc8348/attachment.html>


More information about the Ironpython-users mailing list