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
v811_spc009_project
4 months ago
..
Lang.g v811_spc009_project 4 months ago
Lang.tokens v811_spc009_project 4 months ago
LangDumpDecl.g v811_spc009_project 4 months ago
LangDumpDecl.h v811_spc009_project 4 months ago
LangDumpDecl.m v811_spc009_project 4 months ago
LangDumpDecl.tokens v811_spc009_project 4 months ago
LangLexer.h v811_spc009_project 4 months ago
LangLexer.m v811_spc009_project 4 months ago
LangParser.h v811_spc009_project 4 months ago
LangParser.m v811_spc009_project 4 months ago
Main.java v811_spc009_project 4 months ago
README.txt v811_spc009_project 4 months ago
files v811_spc009_project 4 months ago
input v811_spc009_project 4 months ago
main.m v811_spc009_project 4 months ago
output v811_spc009_project 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