Sign in
android
/
platform
/
external
/
antlr
/
caea28a08126f47fb6acab215f1eba2e8d678a09
/
.
/
runtime
/
ObjC
/
Framework
/
examples
/
treeparser
/
README.txt
blob: a964e711e5d1e149535c3529877f6edf73bcdde0 [
file
] [
log
] [
blame
]
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