Skip to end of metadata
Go to start of metadata
Please check Frequently asked questions (FAQ) before asking questions. The main wiki page is also useful.
The latest release is ANTLR 4.4 as of July 16, 2014 (4.5 release candidate 2 available for testing)

Copyright © 2012, The Pragmatic Bookshelf.  Pragmatic Bookshelf grants a nonexclusive, irrevocable, royalty-free, worldwide license to reproduce, distribute, prepare derivative works, and otherwise use this contribution as part of the ANTLR project and associated documentation.

This text was copied with permission from the The Definitive ANTLR 4 Reference, though it is being morphed over time as the tool changes.  Links in the documentation refer to various sections of the book but have been redirected to the general book page on the publisher's site. There are two excerpts on the publisher's website that might be useful to you without having to purchase the book: Let's get Meta and Building a Translator with a ListenerYou should also consider reading the following books (the vid describes the reference book):


This documentation is a reference and summarizes grammar syntax and the key semantics of ANTLR grammars. The source code for all examples in the book, not just this chapter, are free at the publisher's website. The following video is a general tour of ANTLR 4 and includes a description of how to use parse tree listeners to process Java files easily:

Get Adobe Flash player


You can also build ANTLR itself.


  • No labels