ANTLR: ANother Tool for Language Recognition

Features

ANTLR is a parser generator.

  • Generates Java, C#, or C++ code.

  • Accepts the class of LL(k) grammars

  • Produces recursive-descent parsers

  • Includes mini grammar base, as well as several example applications of ANTLR

  • Tree grammars which let you use grammar constructs to specify how to walk your AST. It also has a notation for building and transforming your AST.

Applications

A complete skeleton of an ANTLR based transformation system for ANSI C and C with GCC extesions can be seen at http://www.codetransform.com/gcc.html. Included are a parser, tree parser (to be "grammar subclassed" for your transformation passes), and a tree emitter to take your tree back to text.

History

Formerly part of PCCTS. See also SORCERER.

Resources

Website: http://www.antlr.org/


CategorySystem

Revision: r1.3 - 09 Mar 2004 - 10:55 - MartinBravenboer
Transform > ANTLR
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback