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