| Up to higher level directory | |||
| Name | Date | Size | |
|---|---|---|---|
| files | 22-Oct-2020 | 56 | |
| input | 22-Oct-2020 | 7 | |
| Lang.g | 22-Oct-2020 | 394 | |
| Lang.tokens | 22-Oct-2020 | 61 | |
| LangDumpDecl.g | 22-Oct-2020 | 289 | |
| LangDumpDecl.h | 22-Oct-2020 | 2.3K | |
| LangDumpDecl.m | 22-Oct-2020 | 8K | |
| LangDumpDecl.tokens | 22-Oct-2020 | 61 | |
| LangLexer.h | 22-Oct-2020 | 1.2K | |
| LangLexer.m | 22-Oct-2020 | 13.6K | |
| LangParser.h | 22-Oct-2020 | 4.5K | |
| LangParser.m | 22-Oct-2020 | 14.4K | |
| Main.java | 22-Oct-2020 | 694 | |
| main.m | 22-Oct-2020 | 1.9K | |
| output | 22-Oct-2020 | 25 | |
| README.txt | 22-Oct-2020 | 240 | |
1 Hi. This is a simple demo of tree construction and tree parsing with ANTLR 2 v3. Here's how to try it out. 3 4 $ java org.antlr.Tool LangParser.g LangTreeParser.g 5 $ javac *.java 6 $ java Main input 7 8 You should see out: 9 10 tree: (DECL int a) 11 int a 12