[antlr-interest] ANTLR 3.0ea1 and ANTLRWorks 1.0ea1 released!

Terence Parr parrt at cs.usfca.edu
Thu Jun 2 16:18:19 PDT 2005


On Jun 2, 2005, at 12:43 PM, Monty Zukowski wrote:

> Terence Parr wrote:
>
>> Howdy!
>> I can't believe it!  Finally, I have something that people can  
>> look  at for ANTLR v3:
>>
>
> Woohoo!  I know you've been working on this real hard for a long  
> time now.  I'm glad it is finally seeing the light of day.
>
> This year's conference is really going to rock!  Consider having a  
> "codefest" the day before or after so people can get some  
> collective wisdom about porting existing grammars over to 3.0 and  
> also about making code generators.
>
> Three cheers for Ter!

Thanks...it has definitely been a long road.  The LL(*) parsing  
strategy and the other goodies + Jean's ANTLRWorks should definitely  
make ANTLR the clear choice for most practical recognition/ 
translation tasks. :)

Has anybody checked out the LL-star example in the examples-v3  
tarball?  It's totally non-LL(k) for any fixed k but ANTLR v3 munches  
it and generates a nice little parser for it.  At least on my box,  
ANTLRWorks does a nice job to highlighting the variable-length  
lookahead in blue as it moves through the simple C input.  :)  The LL 
(*) decision is this one:

decl  :    functionHeader ';' // declaration
          |    functionHeader body // definition
         |    variable
         ;

or something like that.  Anyway, note the arbitrarily long left- 
common prefix on the first two alts. :)

Ter


More information about the antlr-interest mailing list