ANTLR: Complete Language Solutions

http://www.antlr.org/

Java parser generator. Includes mini grammar base, as well as several pretty cool applications of ANTLR.

Formerly part of PCCTS. See also SORCERER.

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

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.


CategorySystem

Revision: r1.2 - 31 Jul 2002 - 18:54 - MontyZukowski
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