Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)
|
ANTLR 3 Whitepaper
This is a summary of the issues with ANTLR 2 and how we plan on fixing them in ANTLR 3. We also discuss the interesting new features for tree building, rewriting, and code emitting. Actual full details of the new system will be fleshed out in the ANTLR 3 documentation written after the prototyping phase is complete. This whitepaper discusses the general features of the new ANTLR 3 system.
New lexical nextToken() generation
New string template, tree template => "..." syntax
New tree construction
#... actions
Dropping inheritance
Full LL(k) with semantic predicate hoisting
Grammar reuse via RCS concepts
Automated tree grammar construction (with push forward changes)
Token and tree spec within ANTLR syntax rather than class def
XML reading/writing, type compatibility issues
Idioms (expressions, ...)
Easy mode input->output with modifications/augmentations for instrumentation
Testing
Code generator construction / interface (intermediate form/language?)
Workbench wishlist
Change of license
|