[antlr-interest] Does ANTLR read the entire file before parsing?

Gavin Lambert antlr at mirality.co.nz
Tue Jul 1 14:13:13 PDT 2008


At 08:48 2/07/2008, siva.kumar at loglogic.com wrote:
 >   Just wanted confirmation that ANTLR will generate code that 
will
 >read the entire file before it's passed to the lexer.

The timing is a little different (I think it actually slurps the 
file when the lexer is asked to produce the first token, which is 
when the token stream is created), but essentially yes.



More information about the antlr-interest mailing list