[antlr-interest] antlr 3.1 beta daily

Terence Parr parrt at cs.usfca.edu
Fri Dec 21 19:12:45 PST 2007


I forgot to mention.  Use k=1 and backtrack=true to engage the  
"failsafe" mode where the new LL(1) optimized engine kicks in.  It  
engages for any LL(1) decision even if no k=1 option though.

Ter

On Dec 21, 2007, at 7:11 PM, Terence Parr wrote:

> Yo. If you would like to test your really huge grammar on the latest  
> version of ANTLR that Kay Roepke and I optimized over the last week,  
> grab:
>
> http://www.antlr.org/download/build/antlr-2007-12-21.19.tar.gz
>
> We optimized the hell out of the code itself and then I added an  
> LL(1)-optimized grammar analyzer that made a huge difference.  An  
> SQL grammar that was taking a minute and a half to process now takes  
> about 10 seconds.
>
> This might make the generated code bigger or smaller...i'll have a  
> look at that later.
>
> Ter



More information about the antlr-interest mailing list