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.
|