• Home
  • History
  • Annotate
  • only in /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
NameDateSize

..14-Feb-20134 KiB

files14-Feb-201356

input14-Feb-20137

Lang.g14-Feb-2013399

Lang.tokens14-Feb-201361

LangDumpDecl.g14-Feb-2013294

LangDumpDecl.h14-Feb-20132.2 KiB

LangDumpDecl.m14-Feb-20137.1 KiB

LangDumpDecl.tokens14-Feb-201361

LangLexer.h14-Feb-20131.1 KiB

LangLexer.m14-Feb-201311.4 KiB

LangParser.h14-Feb-20134.4 KiB

LangParser.m14-Feb-201313.7 KiB

Main.java14-Feb-2013694

main.m14-Feb-20132 KiB

output14-Feb-201325

README.txt14-Feb-2013240

README.txt

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