[antlr-interest] packrat vs. LL(*)

Steven Obua steven at obua.de
Mon Jun 8 04:36:53 PDT 2009


On Jun 8, 2009, at 1:30 PM, Michael wrote:

>
> I see.
> Maybe one should find an example grammar which needs different lexers,
> this is easy with an packrat grammar (since you have no lexer), but  
> not so
> with a normal lexer / parser combi.
>

It is really just a parsing question, the whole lexing issue is  
besides the point. Note that you can have ANTLR grammars without a  
lexer, just as in a packrat grammar.

Cheers,

Steven



More information about the antlr-interest mailing list