[antlr-interest] Another parsing question
Johannes Luber
jaluber at gmx.de
Tue Aug 5 13:06:10 PDT 2008
Foust schrieb:
>> Lexing is all done up front with no input from the parser at all.
>>
>
> Why was that done? Is it the price you pay for infinite lookahead?
>
> Brent
>
I suppose it was merely the most convenient way to implement a lexer.
Infinite lookahead with lexer states will complicate the implementation,
but it should be nonetheless possible.
Johannes
More information about the antlr-interest
mailing list