-
Notifications
You must be signed in to change notification settings - Fork 0
Martikos/antlr-ast-graph-visualizer
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Have the main rule in your parsers (the one you will be using) be called 'mainrule'. Move your ANTLR parser and lexer to /src/parsers/ and call them specParser and specLexer, respectively. Build project, to draw the graph: run using java -jar and make sure you specify input file with -i and output file with -o.
About
This program generates a png image displaying the ast that is created by antlr after tree annotations in the antlr grammar
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published