[antlr-interest] The filter option
Gavin Lambert
antlr at mirality.co.nz
Thu Aug 2 14:22:43 PDT 2007
At 08:23 3/08/2007, Marcos Marín wrote:
>So you mean that I can't use a parser if I
>specify the filter option? if this is the case,
>is there any way I can ignore everything else
>without the filter option?
You can't use filtering in a combined
lexer/parser grammar. But you can create a
standalone filtering lexer, then consume the
tokens it generates using a separate standalone
parser. (See the tokenVocab option.)
More information about the antlr-interest
mailing list