About ANTLR |
Latest version is 2.7.7.
Download now! »
PCCTS 1.33 is the previous version of ANTLR, which was written in C.
Dr. T's Traveling Parsing Revival and Beer Tasting Festival 1997 has come and gone. See a summary.
PCCTS is a public domain tool set that aids in the construction of language recognizers and translators; it is comprised of three tools:
Getting the toolkit
Terence has stopped maintaining 1.33, but Tom Moog has done amazing work updating the C/C++ version. For the latest information from Tom, see
The URL for the zip file is:
Tom says: "The current version is 1.33MR10, but I'll be releasing 1.33MR11 later this week [late Feb 98]. Version MR11 will probably be the last major maintenance release for some time. It includes fixes to every problem and every major annoyance I'm aware of in 1.33 that can be fixed without major surgery."
The original "vanilla" source of PCCTS is:
Grab either pccts.zip or pccts.tar.gz. Unpack it--it will create a pccts subdirectory; jump inside the pccts directory and type make to build the tools. SORCERER must be gotten separately in the pub/pccts/sorcerer directory.
Some prebuilt binaries are available at
NT users should visit Franz-Josef Kaiser's page on PCCTS for NT:
MAC Codewarrior plugins for PCCTS:
A mirror site:
Do a web search to find other mirrors.
Current Development Status
Development work on PCCTS version 1.33 has effectively stopped in favor of a complete rewrite of ANTLR and SORCERER in Java to generate Java; however, the architecture of ANTLR 2.00 will make it easily retargetable to generate C++, for example. The 2.00 ANTLR will provide a more sophisticated lexical analysis mechanism, which obviates the need for DLG. Also, Scott Stanchfield, a maniacal programmer is building a very nice parser debugging tool. Tom Moog continues to do maintenance releases of PCCTS, however.
The holy FAQ for PCCTS 1.33, maintained by no one at the moment:
Notes for new users
The following document is essential:
The ftp address is
Here's the PDF of standard reference for PCCTS using C and C++.
Also, see the book errata.
The Book tutorial
A C++ grammar
A conversation on development tools
A chat session at JavaSoft.
Published papers on PCCTS
Something dark and scary to read
Terence Parr's PhD Dissertation on Practical LL(k) and LR(k) for k>1 parsing that describes the theoretical principles behind the construction of ANTLR's parsers:
Who is this Terence Parr Guy?