[antlr-interest] paraphrase without lexer

Silvain Piree s.piree at enneya.com
Fri Apr 12 23:55:02 PDT 2002


Terence,

> > Does anyone know if it's possible to specify a paraphrase in the
> > parser, instead of in the lexer?
>
> Well, if you're not using the lexer support of ANTLR then it can't help 
> you with paraphrases and can't transmit anything to the lexer.  With 
> your own lexer, you are completely on your own I'm afraid.

I understand your point; I was hoping that it was possible to specify
the paraphrase in the parser (in the token section) because the paraphrase
is only used by the parser, not by the lexer.

Anyway, thanks for the response,

Silvain


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list