module Z::Ast
Overview
Print AST in graphviz's dot
format
makedot() { make ; z -d "$1" |tee ast.gv && dot -Tpng ast.gv -o ast.png && firefox ast.png; }
makedot 'f(){a=b=5;t=b+5;foo();return t+1;}b(x){}'
Defined in:
ast/dot.crast/node.cr
ast/printer.cr
ast/visitor.cr