[antlr-interest] Please help with a grammar issue

Frank Du frank.du at riskmetrics.com
Fri Oct 30 09:23:11 PDT 2009


Dear All,

I have a grammar issue and need your help. Let’s say I have tree rules: a, b, c

Rule a occurs multiple times, rule b occurs one time or none, and rule c occurs one time.

My question is: How to write the grammar, so the rule ordering is arbitrary?

Thank you so much! Have a nice day!

Best Regards,
Frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091030/953b56f4/attachment.html 


More information about the antlr-interest mailing list