X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/f575cdca18b30a96a76514c105a933c3e59d6311..40f2456eca4c0386a1fd473cfdf61253d13f0048:/doc/syntax.tex?ds=sidebyside diff --git a/doc/syntax.tex b/doc/syntax.tex index fc34e4e..0b415d2 100644 --- a/doc/syntax.tex +++ b/doc/syntax.tex @@ -130,7 +130,8 @@ binary. However, length and signedness indicators are not permitted. \subsection{Punctuation} \label{sec:syntax.lex.punct} \begin{grammar} - ::= "\dots" + ::= "<<" | ">>" | "||" | "&&" + | "<=" | ">=" | "==" | "!=" | "\dots" \alt any nonalphanumeric character other than "_", "\"", or "'" \end{grammar} @@ -367,7 +368,36 @@ keyword arguments. ::= "=" - ::= + ::= + + ::= + | "||" + + ::= + | "&&" + + ::= + | "|" + + ::= + | "^" + + ::= + | "&" + + ::= + | "==" + | "!=" + + ::= + | "<" + | "<=" + | ">=" + | ">" + + ::= + | "<<" + | ">>" ::= | "+" @@ -640,9 +670,11 @@ declarations instead. \begin{grammar} ::= - "code" ":" @[@] + "code" ":" @[@] "{" "}" + ::= + ::= "[" $[\mbox{@}]$ "]" ::= @^+