[antlr-interest] ANTLR 3.0ea8 released

Terence Parr parrt at cs.usfca.edu
Sat Mar 11 12:58:23 PST 2006

Howdy, 3.0ea8 is ready-to-eat:


or more directly for the impatient:


Huge number of bug fixes, clean up work:


Includes among other stuff:

* the latest ST incorporation stuff like %foo(a={}...) for ST stuff  
in actions.

* $x[i]::y and $x[-i]::y notation for accesssing absolute scope stack
   indexes and relative negative scopes.  $x[-1]::y is the y attribute
   of the previous scope (stack top - 1).

* filter=true mode for lexers; can do this now...upon mismatch, just
   consumes a char and tries again:
lexer grammar FuzzyJava;
options {filter=true;}
     :   TYPE WS? name=ID WS? (';'|'=')
         {System.out.println("found var "+$name.text);}

* added basic exception handling; no labels, just general catches:

* literals are now passed in the .tokens files so you can ref them in
   tree parses, for example.

Includes ANTLR 2.7.6 and ST 2.3b6 jars needed to run it.  Jean is  
working on ANTLRWorks 1.0ea8 which should be out today/tomorrow!

I updated the examples to ensure they work still with latest:


Wooohooo!!!  Getting closer...


More information about the antlr-interest mailing list