Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


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 ;)

Search



ANTLR 3 Whitepaper

RSS Feed
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