You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
Lang.g | 4 months ago | |
Lang.tokens | 4 months ago | |
LangDumpDecl.g | 4 months ago | |
LangDumpDecl.h | 4 months ago | |
LangDumpDecl.m | 4 months ago | |
LangDumpDecl.tokens | 4 months ago | |
LangLexer.h | 4 months ago | |
LangLexer.m | 4 months ago | |
LangParser.h | 4 months ago | |
LangParser.m | 4 months ago | |
Main.java | 4 months ago | |
README.txt | 4 months ago | |
files | 4 months ago | |
input | 4 months ago | |
main.m | 4 months ago | |
output | 4 months ago |
README.txt
Hi. This is a simple demo of tree construction and tree parsing with ANTLR v3. Here's how to try it out. $ java org.antlr.Tool LangParser.g LangTreeParser.g $ javac *.java $ java Main input You should see out: tree: (DECL int a) int a