Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better AST Printer #22

Open
onehr opened this issue Apr 14, 2019 · 1 comment
Open

Better AST Printer #22

onehr opened this issue Apr 14, 2019 · 1 comment

Comments

@onehr
Copy link
Owner

onehr commented Apr 14, 2019

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
Copy link
Owner Author

onehr commented Apr 16, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant