[antlr-interest] ab? b?a

fat bold cyclop fat.bold.cyclop at gmail.com
Sat Jun 28 03:08:34 PDT 2008


> fragment POSTPROMOTE: '+';
>
> PREPROMOTE
>  : '+'
>    ( (' '|'\t'|'\r'|'\n'|EOF) => /*epsilon*/ { $type = POSTPROMOTE; } )?
>  ;
Thanks a lot.
I am certainly going to try this out, although I don't really understand it ;-)

I was browsing antlr wiki for some articles/tutorials about
predicates. Do you know any?

Regards,
fbc


More information about the antlr-interest mailing list