[antlr-interest] REAL or int or Range

Gavin Lambert antlr at mirality.co.nz
Tue Jan 22 22:39:03 PST 2008


At 08:09 23/01/2008, Jim Idle wrote:
 >
 >But when you define using fragments, then you will quite
 >often make a function call in the lexer, rather than just
 >matching.

True.  Although the ANTLR compiler ought to peephole optimise that 
away.  (It doesn't at the moment though, sadly.  Still, the target 
compiler might.)



More information about the antlr-interest mailing list