crust icon indicating copy to clipboard operation
crust copied to clipboard

Better AST Printer

Open onehr opened this issue 7 years ago • 1 comments

Now crust just use a simple AST Printer, which uses the depth as its parameter to control its indention level, but should be improved by ignoring some node information which are not useful for us to observe (cause it can be overwhelming sometimes) , but also keeps its scope level.

onehr avatar Apr 14 '19 07:04 onehr

Maybe try to generate CFG from AST node to better visualize the structures of the AST.

https://doc.rust-lang.org/1.0.0/graphviz/index.html

onehr avatar Apr 16 '19 10:04 onehr