Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is the home page for the ANTLR 3 space.

What is ANTLR 3?

To be written. Volunteers?
ANTLR 3 is the latest version of a language processing toolkit that was originally released as PCCTS in the late 19990smid-1990s. As was the case then, this release of the ANTLR toolkit advances the state of the art with it's new LL(*) parsing engine. ANTLR (ANother Tool for Language Recognition) provides a framework for the generation of recognizers, compilers, and translators from grammatical descriptions. The generated code can be in Java, C#, Objective-C or C. The ANTLR grammatical descriptions can optionally include action code written in what is termed the target language (i.e. the implementation language of the source code artifacts generated by ANTLR).

When it was released, PCCTS supported C++ as it's exclusive target language. It's immediate successor ANTLR 2 supported Java, C# and Python in addition to C+. Although it is still in beta, ANTLR 3 has already demonstrated it's ability to support Java, C#, Objective-C, ANSI C, C etc). In the future, support for additional languages such as + and Ruby as target languages. As of July 2006, the Java target is complete and the C#, Objective-C, Ruby and ANSI C targets are nearly complete. Support for additional target languages including C++, Ruby and Perl6 is expectedPerl6 and Oberon (yes, Oberon) is either expected or already in progress.

What does ANTLR 3 do?


To be written. Volunteers?

Put simply, ANTLR 3 is a tool for generating language processing tools. To this end, it is commonly categorised as a compiler generator or compiler compiler in the tradition of tools such as Lex/Flex and Yacc/Bison). Given the grammatical description of a langauge, ANTLR can generate the source code for various tools that can processing and transform input in that language. The basic types of language processing tools that ANTLR can generates are Lexer, Parsers and TreeParsers.

...