[antlr-interest] Is this synpred valid?

Bertalan Fodor lilypondtool at organum.hu
Sat Feb 16 15:27:43 PST 2008


Hi,

I'm curious if this form of syntactical predicates is valid and means 
what I mean (I know it gets compiled and seems to work, but I would like 
to make it sure):

body: ((definition)=>definition)* sequence

That means, definition's checking for syntactical predicate will run for 
all iterations.

Thank you,

Bert


More information about the antlr-interest mailing list