On Wed, May 10, 2006 at 05:58:57PM -0700, Allison Randal wrote:
> rule:
> - Has :ratchet and :skip turned on by default
> - May only be used inside a grammar

Should that be 

- Must be declared as part of a grammar or role


The verb "used" doesn't make much sense to me there.  I use a rule
when I'm applying it as a pattern to a string.  The situation where
rules can be defined anywhere but must only be used in a grammar
doesn't make sense to me, so I assume that you meant that "rules must
belong to a grammar". (btw, I also assumed that "may only" really
meant "must")

And if we're keeping the correspondence between classes+methods and
grammars+rules, then surely grammars are composable entities just
like classes.

Seeking clarification,

Jonathan Scott Duff

Reply via email to