argv0.net 25.1.2005

2005-01-25

pyunparse: From AST to Python Source

I just got done hacking up a proof-of-concept Python "unparser" that converts Python Abstract Syntax Trees to concrete Python source code. Pyunparse is intended to be used as a debugging aid for apps that use the compiler.ast classes.


Check out the pyunparse page for more information, or to download the script.

posted at 16:45:36    #    comment []    trackback []
January
MoTuWeThFrSaSu
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930
31      
Dec Feb

a python programming journal by Andrew R. Gross

XML-Image Letterimage

© 2005, Andrew R. Gross