ANTLR 2.xx Meta-Language

ANTLR 2.0 accepts three types of grammar specifications -- parsers, lexers, and tree-parsers (also called tree-walkers). Because ANTLR 2.0 uses LL(k) analysis for all three grammar variants, the grammar specifications are similar, and the generated lexers and parsers behave similarly.

Note: in this document, the word "parser" usually includes tree-parsers as well as token stream parsers, except where noted.

Meta-Language Vocabulary


Whitespace. Spaces, tabs, and newlines are separators in that they can separate ANTLR vocabulary

Download ANTLR 2.4.0.

ANTLR 2.4.0 release notes

ANTLR Meta-Language