[antlr-interest] RFC re/ Left factoring and Syntactic Predicate
Martin Probst
mail at martin-probst.com
Thu Jul 7 00:28:47 PDT 2005
Hi,
> Syntactic predicates are performance killers. Only use them during
> prototyping and when you really cannot do something else. Or if you have
> other reasons like readability etc.
The question is: are predicates worse than a higher k? There are quite
often situations where you only need a higher k in one or two places of
your grammar - increasing k overall would probably lead to a decreasing
performance overall?
Regards,
Martin
More information about the antlr-interest
mailing list