Name Date Size #Lines LOC

..--

Lang.gH A D25-Apr-2025394 2318

Lang.tokensH A D25-Apr-202561 98

LangDumpDecl.gH A D25-Apr-2025289 1814

LangDumpDecl.hH A D25-Apr-20252.3 KiB9142

LangDumpDecl.mH A D25-Apr-20258 KiB262189

LangDumpDecl.tokensH A D25-Apr-202561 98

LangLexer.hH A D25-Apr-20251.2 KiB4728

LangLexer.mH A D25-Apr-202513.6 KiB556432

LangParser.hH A D25-Apr-20254.5 KiB15868

LangParser.mH A D25-Apr-202514.4 KiB504383

Main.javaH A D25-Apr-2025694 2117

README.txtH A D25-Apr-2025240 128

filesH A D25-Apr-202556 76

inputH A D25-Apr-20257 21

main.mH A D25-Apr-20251.9 KiB5549

outputH A D25-Apr-202525 32

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