X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/fe471148e34552002cfb25d235f62fd557865dda..e895be217c3be6769708da17c9ae87cb22db040e:/doc/syntax.tex diff --git a/doc/syntax.tex b/doc/syntax.tex index c50608c..72329a4 100644 --- a/doc/syntax.tex +++ b/doc/syntax.tex @@ -51,15 +51,15 @@ could be a token. ::= | "_" - ::= @! + ::= | - ::= "A" | "B" $| \cdots |$ "Z" - | "a" | "b" $| \cdots |$ "z" + ::= "A" | "B" | $\cdots$ | "Z" + | "a" | "b" | $\cdots$ | "z" | ::= "0" | - ::= "1" | "2" $| \cdots |$ "9" + ::= "1" | "2" | $\cdots$ | "9" \end{grammar} The precise definition of @ is left to the function @@ -107,15 +107,15 @@ discouraged. ::= "0" | @^* - ::= "0" @("b" @! "B"@) @^+ + ::= "0" @("b" | "B"@) @^+ ::= "0" | "1" - ::= "0" @["o" @! "O"@] @^+ + ::= "0" @["o" | "O"@] @^+ - ::= "0" | "1" $| \cdots |$ "7" + ::= "0" | "1" | $\cdots$ | "7" - ::= "0" @("x" @! "X"@) @^+ + ::= "0" @("x" | "X"@) @^+ ::= | "A" | "B" | "C" | "D" | "E" | "F" @@ -324,7 +324,7 @@ defined in the built-in module. ::= $[\epsilon, \mbox{@}]$ ::= - $[\mbox{@ @! $\epsilon$}, \mbox{@}]$ + $[\mbox{@ | $\epsilon$}, \mbox{@}]$ ::= $[\mbox{@}, \mbox{@}]$ @@ -352,7 +352,7 @@ keyword arguments. @[$[\mbox{@}]$@] "?" @[$[\mbox{@}]$@] - ::= @! + ::= | ::= "." @@ -670,14 +670,18 @@ declarations instead. \begin{grammar} ::= - "code" ":" @[@] + "code" ":" @[@] "{" "}" +\alt + "code" ":" ";" + + ::= ::= "[" $[\mbox{@}]$ "]" ::= @^+ - ::= @! "(" @^+ ")" + ::= | "(" @^+ ")" \end{grammar} The @ will be output unchanged to one of the output files. @@ -899,6 +903,9 @@ Properties: \begin{description} \item[@|message_class|] A symbol naming the Lisp class to use to represent the message. +\item[@|readonly|] A boolean indicating whether the message guarantees not to + modify its receiver. If this is true, the receiver will be declared + @"const". \item[@|combination|] A keyword naming the aggregating method combination to use. \item[@|most_specific|] A keyword, either @`first' or @`last', according to