[antlr-interest] syntactic predicates vs. backtrack=true

Mark Volkmann r.mark.volkmann at gmail.com
Tue Feb 5 04:41:14 PST 2008


Can someone describe a case where it's better to use syntactic
predicates on rule alternatives than just specifying backtrack=true as
a rule option? It certainly introduces less clutter in the grammar to
use backtrack and of course there is less to type and less opportunity
for error. Is it significantly more efficient to use syntactic
predicates?

-- 
R. Mark Volkmann
Object Computing, Inc.


More information about the antlr-interest mailing list