| Up to higher level directory | |||
| Name | Date | Size | |
|---|---|---|---|
| files | 05-Oct-2017 | 56 | |
| input | 05-Oct-2017 | 7 | |
| Lang.g | 05-Oct-2017 | 399 | |
| Lang.tokens | 05-Oct-2017 | 61 | |
| LangDumpDecl.g | 05-Oct-2017 | 294 | |
| LangDumpDecl.h | 05-Oct-2017 | 2.2K | |
| LangDumpDecl.m | 05-Oct-2017 | 7.1K | |
| LangDumpDecl.tokens | 05-Oct-2017 | 61 | |
| LangLexer.h | 05-Oct-2017 | 1.1K | |
| LangLexer.m | 05-Oct-2017 | 11.4K | |
| LangParser.h | 05-Oct-2017 | 4.4K | |
| LangParser.m | 05-Oct-2017 | 13.7K | |
| Main.java | 05-Oct-2017 | 694 | |
| main.m | 05-Oct-2017 | 2K | |
| output | 05-Oct-2017 | 25 | |
| README.txt | 05-Oct-2017 | 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