Universal AST Generator with GUI.
You can use ANTLR grammars for your favorite programming language and generate an AST for any input by the help of this program.
- Download the latest version of ANTLR4 (Complete) and follow their documentations to set it up.
- Download a grammar or create your own one. Then set it up according to ANTLR docs.
- Import ANTLR and GraphStream as Java libraries.
- Run the program and follow graphical instructions.