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