Rendering code¶
In order to be more easily read AST trees can pretty printed (a.k.a. rendered). Some other code which may be helpful in rendering AST trees as Python text are
Python renderers of Python ASTs¶
Python renderers of other trees¶
- Eduardo Schettino’s pyregurgitator
- Alex Michael’s approach
- Jorge Monforte’s heracles
- Guillaume Bour’s Reblok builds ASTs from bytecode
- Cenk Alti’s pythml renders html from method calls
To Do¶
- A significant initial task shall be to evaluate these renderers:
- find their commonalities
- find their idiosyncracies
- decide on my own rendering strategy.