On Thu, Mar 5, 2009 at 1:38 PM, Zorg 421 <[email protected]> wrote:
> Hmm does'nt Jonathan used curly braces in this particular thread to
> mean "optional", not curly braces?

Yes. I was using a BNF-like notation. It's hard to do that in an
ascii-only syntax.To make matters worse, I chose the conventions of
the OCaml doc, which do not follow the usual conventions.

Where grammar fragments are being discussed, we should use curly
braces to denote grouping. All uses of grouping will be followed by +
(one or more) * (zero or more) or ? (zero or one). When curly brace is
intended to be a token it should be quoted or written out.

So with the rules stated, I was proposing:

let BINDING
     { and BINDING }* in
  expr
end

That is; I did not intend the curly braces literally.

shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to