@@ -38,15 +38,17 @@ and \texttt{[e]} here, which stand for arbitrary expressions
3838\end{itemize}
3939
4040\noindent
41−The only limitations on the form of a syntax rule are that it must include at least one
41+The limitations on the form of a syntax rule are that it must include at least one
4242symbol or keyword, and there must be no repeated variables standing for non-terminals.
43+Rules can use previously defined rules, but may not be recursive.
4344The following syntax extensions would therefore be valid:
4445
4546\begin{SaveVerbatim}{syntaxex}
4647
47−syntax [var] ":=" [val] = Assign var val
48−syntax select [x] from [t] = Select x t;
48+syntax [var] ":=" [val] = Assign var val;
49+syntax [test] "?" [t] ":" [e] = if test then t else e;
4950syntax select [x] from [t] where [w] = SelectWhere x t w;
51+syntax select [x] from [t] = Select x t;
5052
5153\end{SaveVerbatim}
5254\useverb{syntaxex}