xref: /aosp_15_r20/external/antlr/runtime/ObjC/Framework/examples/treeparser/README.txt (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1Hi.  This is a simple demo of tree construction and tree parsing with ANTLR
2v3.  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
8You should see out:
9
10tree: (DECL int a)
11int a
12