Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question on ABNF

4 views
Skip to first unread message

Generic Usenet Account

unread,
Oct 25, 2011, 1:38:40 PM10/25/11
to
Hello,

Are the following ABNF snippets equivalent? If yes, which one is more
preferable?

Option 1
========
A = B [ ( "&" / "|" ) A ]
B = C / "(" C ")"
C = ...


Option 2
========
A = B * (( "&" / "|" ) B )
B = C / "(" C ")"
C = ...


In my opinion they are equivalent and I prefer Option 2.

Thanks,
Song
0 new messages