[antlr-interest] Can antlr v3 lex star | tristar properly?

Guntis Ozols guntiso at latnet.lv
Wed Nov 21 15:22:07 PST 2007


Jim Idle <jimi at temporal-wave.com> wrote:

> You should regard the lexer as a kind of simplified parser. You would not
> expect to just throw a bunch o rules at the parser and hope it sorts them
> out, and you also need to make sure you are no expecting the lexer part of
> this to do the same :-)
>
> Jim

Well, I believe if it can be figured out, it should be figured out!
Maybe there will be antlr v4 some day, free of all those gotchas...



More information about the antlr-interest mailing list