[antlr-interest] Newbie question:using lexer grammar

Johannes Luber jaluber at gmx.de
Sat Aug 25 09:51:51 PDT 2007


Mauro Pellicioli wrote:
> Hi everyone,as the subject says: how do I use a lexer grammar with the
> option filter=true?There is no method to call like when I use a parser.
> 
> Thanks for help. 

Usually, you don't call the lexer directly, but use the parser. This
happens regardless of the type of the lexer. Why do you want to call the
lexer directly anyways?

Best regards,
Johannes Luber


More information about the antlr-interest mailing list