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

A command line flag to print AST #8158

Closed
medvednikov opened this issue Jan 17, 2021 · 3 comments
Closed

A command line flag to print AST #8158

medvednikov opened this issue Jan 17, 2021 · 3 comments
Labels
Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one.

Comments

@medvednikov
Copy link
Member

medvednikov commented Jan 17, 2021

A simple tool that just calls str() on each node.

v -print-ast file.v

Module {
 ....
}
@medvednikov medvednikov added the Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. label Jan 17, 2021
@helto4real
Copy link
Member

Yes this would be very useful!

@spytheman
Copy link
Member

vast - https://github.com/lydiandy/vast/ already does something like this

@nedpals
Copy link
Member

nedpals commented Jul 8, 2021

Closed. Implemented in e09f023

@nedpals nedpals closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants