[antlr-interest] languages without reserved words

Martin Probst mail at martin-probst.com
Fri Mar 3 07:52:35 PST 2006


> Note that the alternative for v3 said "might get solved" - no
> guarantee...  As a rift on stateful lexing, perhaps using two lexers
> (ala java and javadoc) would allow easier partitioning of the
> problem...

I don't really see the difference between multiple Lexers and States -
with both cases you have to do a { switchLexer(); } or
{ switchState(); } in the right places. I think that's pretty much the
same after all.

Martin



More information about the antlr-interest mailing list