RE [antlr-interest] ANTLR 3.0ea8 released
=?gb2312?q?=CB=EF=BC=CD=B8=D5=20Jigang=20(Robert)=20Sun?=
sunjigang1965 at yahoo.com.cn
Sat Mar 11 14:47:24 PST 2006
I am using 2.7.6, Should I switch to v3? Is v3 better?
Jigang
--- Terence Parr <parrt at cs.usfca.edu>дµÀ:
> Howdy, 3.0ea8 is ready-to-eat:
>
> http://www.antlr.org/v3/index.html
>
> or more directly for the impatient:
>
> http://www.antlr.org/download/antlr-3.0ea8.tar.gz
>
> Huge number of bug fixes, clean up work:
>
> http://www.antlr.org/v3/README.txt
>
> 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;}
> FIELD
> : 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:
>
> http://www.antlr.org/download/examples-v3.tar.gz
>
> Wooohooo!!! Getting closer...
>
> Enjoy,
> Ter
>
___________________________________________________________
ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ
http://cn.mail.yahoo.com/
More information about the antlr-interest
mailing list