[Python-ideas] AST Pretty Printer
haoyi.sg at gmail.com
Fri Sep 13 01:40:22 CEST 2013
I would be interested in it; would have made developing macropy much easier
if there was a way to nicely print large blobs of AST (i.e. nicer than
On Thu, Sep 12, 2013 at 4:31 PM, Ryan <rymg19 at gmail.com> wrote:
> I always encounter one problem when dealing with Python ASTs: When I print
> it, it looks like Lisp(aka Lots of Irritated Superfluous Parenthesis). In
> short: it's a mess.
> My idea is an AST pretty printer built on ast.NodeVisitor. If anyone finds
> this interesting, I can probably have a prototype of the class between
> later today and sometime tomorrow.
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> Python-ideas mailing list
> Python-ideas at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas