[antlr-interest] 4.0 daily builds

Eric researcher0x00 at gmail.com
Sun Jan 1 13:05:38 PST 2012


Ter,


> The most obvious differences with v4 are:
>
> * (directly) left recursive grammars that works great for expressions
> * modes in the lexer
>

What are modes and how do they work. I noticed them looking at the antlr
parser grammar, but could not find any *.g4 file that gave me any help.


> * the lexer rules behave as you'd expect lexer rules to behave now
> * it takes any grammar you give it that isn't indirectly left recursive;
> there are no static grammar analysis errors


There seems to be more steps performed using *.g4 grammars such a tree
validation and refactoring. Could you elaborate on them.


Thanks, Eric


More information about the antlr-interest mailing list