| 1 |
\documentclass[a4paper,landscape,twocolumn]{article} |
| 2 |
\usepackage[margin=1cm]{geometry} |
| 3 |
|
| 4 |
\usepackage{fancybox} |
| 5 |
\newcommand*{\Hline}{\mbox{}\hrulefill\mbox{}} |
| 6 |
\newcounter{bsyntax} |
| 7 |
\newenvironment{bsyntax}% |
| 8 |
{\leavevmode\begin{Sbox}\begin{minipage}{0.98\columnwidth}% |
| 9 |
{\textit{Syntax~\addtocounter{bsyntax}{1}\thebsyntax}\textit{:}}% |
| 10 |
\begingroup\parskip=0cm\parindent=0.5cm\lineskip=0pt% |
| 11 |
\obeylines\obeyspaces\textit}% |
| 12 |
{\endgroup\vskip\parskip\end{minipage}\end{Sbox}\fbox{\TheSbox}} |
| 13 |
|
| 14 |
\begin{document} |
| 15 |
|
| 16 |
\begin{bsyntax} \texttt{input} command\index{\texttt{input}}\index{\texttt{in}}\Hline |
| 17 |
\texttt{input}~\textit{pathname} |
| 18 |
\end{bsyntax} |
| 19 |
|
| 20 |
\begin{bsyntax} \texttt{eof}~command \index{\texttt{eof}}\Hline |
| 21 |
\texttt{eof} |
| 22 |
\end{bsyntax} |
| 23 |
|
| 24 |
\begin{bsyntax} \texttt{cd}~ command \index{\texttt{cd}}\Hline |
| 25 |
\texttt{cd}~\textit{pathname} |
| 26 |
\end{bsyntax} |
| 27 |
|
| 28 |
\begin{bsyntax} \texttt{pwd}~\textit{command}\index{\texttt{pwd}}\Hline |
| 29 |
\texttt{pwd} |
| 30 |
\end{bsyntax} |
| 31 |
|
| 32 |
\begin{bsyntax} \texttt{ls} command \index{\texttt{ls}}\Hline |
| 33 |
\texttt{ls} \textit{pathname} |
| 34 |
\end{bsyntax} |
| 35 |
|
| 36 |
\begin{bsyntax} \texttt{save} command \index{\texttt{save}}\Hline |
| 37 |
\texttt{save} \textit{pathname} |
| 38 |
\end{bsyntax} |
| 39 |
|
| 40 |
\begin{bsyntax} \texttt{restore} command \index{\texttt{restore}}\Hline |
| 41 |
\texttt{restore} \textit{pathname} |
| 42 |
\end{bsyntax} |
| 43 |
|
| 44 |
\begin{bsyntax} \texttt{save-system} command \index{\texttt{save-system}}\Hline |
| 45 |
\texttt{save-system} \textit{pathname} |
| 46 |
\end{bsyntax} |
| 47 |
|
| 48 |
\begin{bsyntax} \texttt{require} command \index{\texttt{require}}\Hline |
| 49 |
\texttt{require} \textit{feature} $[$\textit{pathname}$]$ |
| 50 |
\end{bsyntax} |
| 51 |
|
| 52 |
\begin{bsyntax} \texttt{provide} command \index{\texttt{provide}}\Hline |
| 53 |
\texttt{provide} \textit{feature} |
| 54 |
\end{bsyntax} |
| 55 |
|
| 56 |
\begin{bsyntax} command listing command \texttt{?}(help command)\index{\texttt{?} (help command)}\Hline |
| 57 |
\texttt{?} |
| 58 |
\end{bsyntax} |
| 59 |
|
| 60 |
\begin{bsyntax} \texttt{set} command for switches \index{\texttt{set}}\Hline |
| 61 |
\texttt{set} \textit{switch\_name} $\{$ \texttt{on} $|$ \texttt{off} $\}$ |
| 62 |
\end{bsyntax} |
| 63 |
|
| 64 |
\begin{bsyntax} \texttt{set} command for others \index{\texttt{set}} \Hline |
| 65 |
\texttt{set} \textit{a\_name} $[$\textit{option}$]$ \textit{value} |
| 66 |
\end{bsyntax} |
| 67 |
|
| 68 |
\begin{bsyntax} \texttt{show} command for module inspection\Hline |
| 69 |
\index{\texttt{show}} |
| 70 |
\texttt{show} $[$\textit{module\_expression}$]$ |
| 71 |
\texttt{show} $[$\texttt{all}$]$ $\{$ \texttt{sorts} $|$ \texttt{ops} $|$ \texttt{sign} $|$ \texttt{axioms} $\}$ $[$\textit{module\_expression}$]$ |
| 72 |
\texttt{show} $\{$ \texttt{vars} $|$ \texttt{params} $|$ \texttt{subs} $\}$ $[$\textit{module\_expression}$]$ |
| 73 |
\texttt{show} $\{$ \texttt{sort} \textit{sort\_name} $\}$ $|$ $\{$ \texttt{op} \textit{operator\_name} $\}$ $[$ \textit{module\_expression}$]$ |
| 74 |
\texttt{show} $\{$ \texttt{sub} \textit{number} $\}$ $|$ $\{$ \texttt{param} \textit{parameter\_name} $\}$ $|$ $\{$ $[$ \texttt{all}$]$ \texttt{rules} $\}$ |
| 75 |
~~~~~~~~$[$\textit{module\_expression}$]$ |
| 76 |
\texttt{show view} \textit{view\_name} |
| 77 |
\end{bsyntax} |
| 78 |
|
| 79 |
\begin{bsyntax} \texttt{show} command for other inspection \Hline |
| 80 |
\texttt{show tree} $|$ $\{$ \texttt{term} $[$\textit{let\_variable}$]$ $[$\texttt{tree}$]$ $\}$ $|$ $\{$ \texttt{subterm} $[$\texttt{tree}$]$ $\}$ |
| 81 |
\texttt{show $[$ let $|$ selection $|$ pending $|$ context $|$ modules $|$ views $|$} |
| 82 |
~~~~~~~~\texttt{time $|$ limit $|$ stop $|$ features $|$ memo} |
| 83 |
\texttt{show $[$all$]$ $\{$ rule \textit{rule\_specification} $\}$ $|$ $\{$ switches $[$\textit{switch\_name}$]$ $\}$} |
| 84 |
\end{bsyntax} |
| 85 |
|
| 86 |
\begin{bsyntax} \texttt{describe} command \index{\texttt{describe}} \Hline |
| 87 |
\texttt{describe $[$\textit{module\_expression}$]$} |
| 88 |
\texttt{describe $[$all$]$ $\{$ sorts $|$ ops $|$ sign $|$ axioms $\}$ $[$\textit{module\_expression}$]$} |
| 89 |
\texttt{describe $\{$ vars $|$ params $|$ subs $\}$ $[$\textit{} module\_expression $]$} |
| 90 |
\texttt{describe $\{$ sort \textit{sort\_name} $\}$ $|$ $\{$ op \textit{operator\_name} $\}$ $[$\textit{module\_expression}$]$} |
| 91 |
\end{bsyntax} |
| 92 |
|
| 93 |
\begin{bsyntax} module without parameters \Hline |
| 94 |
\texttt{module} \textit{module\_name} ``\texttt{\{}'' |
| 95 |
~~\textit{module\_element} $*$ |
| 96 |
``\texttt{\}}'' |
| 97 |
\end{bsyntax} |
| 98 |
|
| 99 |
\begin{bsyntax} \texttt{unprotect} command \index{\texttt{unprotect}} \Hline |
| 100 |
\texttt{unprotect} \textit{module\_name} |
| 101 |
\end{bsyntax} |
| 102 |
|
| 103 |
\begin{bsyntax} \texttt{protect} command \index{\texttt{protect}} \Hline |
| 104 |
\texttt{protect} \textit{module\_name} |
| 105 |
\end{bsyntax} |
| 106 |
|
| 107 |
\begin{bsyntax} \texttt{imports} block \index{\texttt{imports}} \Hline |
| 108 |
\texttt{imports} ``\texttt{\{} \textit{module\_element} $*$ ``\texttt{\}}'' |
| 109 |
\end{bsyntax} |
| 110 |
|
| 111 |
\begin{bsyntax} \texttt{signature} block \index{\texttt{signature}} \Hline |
| 112 |
\texttt{signature} ``\texttt{\{} \textit{module\_element} $*$ ``\texttt{\}}'' |
| 113 |
\end{bsyntax} |
| 114 |
|
| 115 |
\begin{bsyntax} \texttt{axioms} block \index{\texttt{axioms}} \Hline |
| 116 |
\texttt{axioms} ``\texttt{\{} \textit{module\_element} $*$ ``\texttt{\}}'' |
| 117 |
\end{bsyntax} |
| 118 |
|
| 119 |
\begin{bsyntax} module for tight denotation \Hline |
| 120 |
\texttt{module!} \textit{module\_name} ``\texttt{\{} |
| 121 |
~~~~\textit{module\_element} $*$ |
| 122 |
``\texttt{\}}'' |
| 123 |
\end{bsyntax} |
| 124 |
|
| 125 |
\begin{bsyntax} module for loose denotation \Hline |
| 126 |
\texttt{module*} \textit{module\_name} ``\texttt{\{} |
| 127 |
~~~~\textit{module\_element} $*$ |
| 128 |
``\texttt{\}}'' |
| 129 |
\end{bsyntax} |
| 130 |
|
| 131 |
\begin{bsyntax} import declaration \Hline |
| 132 |
$\{$ \texttt{protecting $|$ extending $|$ using $|$ including} $\}$ ``('' \textit{module\_expression} ``)'' |
| 133 |
\end{bsyntax} |
| 134 |
|
| 135 |
\begin{bsyntax} visible sort declaration |
| 136 |
\index{\texttt{[},\texttt{]} (visible sort declarations)} |
| 137 |
``\texttt{[}'' \textit{list\_of\_sort\_names} ``\texttt{]}'' |
| 138 |
\end{bsyntax} |
| 139 |
|
| 140 |
\begin{bsyntax} hidden sort declaration \Hline |
| 141 |
\index{\texttt{*[},\texttt{]*} (hidden sort declarations)} |
| 142 |
``\texttt{*[}'' \textit{list\_of\_sort\_names} ``\texttt{]*}'' |
| 143 |
\end{bsyntax} |
| 144 |
|
| 145 |
\begin{bsyntax} subsort declaration \index{\texttt{<}} \Hline |
| 146 |
``\texttt{[}'' \textit{list\_of\_sort\_names} ``\texttt{<}'' \textit{list\_of\_sort\_names} $\{$ ``\texttt{<}'' \textit{list\_of\_sort\_names} $\}$ $*$ ``\texttt{]}'' |
| 147 |
``\texttt{*[}'' \textit{list\_of\_sort\_names} ``\texttt{<}'' \textit{list\_of\_sort\_names} $\{$ ``\texttt{<}'' \textit{list\_of\_sort\_names} $\}$ $*$ ``\texttt{]*}'' |
| 148 |
\end{bsyntax} |
| 149 |
|
| 150 |
\begin{bsyntax} standard operator declaration \index{\texttt{op}} \Hline |
| 151 |
\index{standard operator declaration} |
| 152 |
\texttt{op} \textit{standard\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} ``\texttt{->}'' \textit{sort\_name} |
| 153 |
\end{bsyntax} |
| 154 |
|
| 155 |
\begin{bsyntax} mixfix operator declaration \Hline |
| 156 |
\index{mixfix operator declaration} |
| 157 |
\texttt{op} \textit{mixfix\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} ``\texttt{->}'' \textit{sort\_name} |
| 158 |
\end{bsyntax} |
| 159 |
|
| 160 |
\begin{bsyntax} behavioural operator declaration \index{\texttt{bop}} \Hline |
| 161 |
\texttt{bop} \textit{standard\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} ``\texttt{->}'' \textit{sort\_name} |
| 162 |
\texttt{bop} \textit{mixfix\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} ``\texttt{->}'' \textit{sort\_name} |
| 163 |
\end{bsyntax} |
| 164 |
|
| 165 |
\begin{bsyntax} predicate declaration \index{\texttt{pred}} \Hline |
| 166 |
\texttt{pred} \textit{standard\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} |
| 167 |
\texttt{pred} \textit{mixfix\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} |
| 168 |
\end{bsyntax} |
| 169 |
|
| 170 |
\begin{bsyntax} behavioural predicate declaration \index{\texttt{bpred}} \Hline |
| 171 |
\texttt{bpred} \textit{standard\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} |
| 172 |
\texttt{bpred} \textit{mixfix\_operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} |
| 173 |
\end{bsyntax} |
| 174 |
|
| 175 |
\begin{bsyntax} \texttt{regularize} command \index{\texttt{regularize}} \Hline |
| 176 |
\texttt{regularize} \textit{module\_name} |
| 177 |
\end{bsyntax} |
| 178 |
|
| 179 |
\begin{bsyntax} parsing command \index{\texttt{parse}} \Hline |
| 180 |
\index{\texttt{.} (term stopper)} |
| 181 |
\texttt{parse} $[$\texttt{in} \textit{module\_expression} ``\texttt{:}''$]$ \textit{term} ``\texttt{.}'' |
| 182 |
\end{bsyntax} |
| 183 |
|
| 184 |
\begin{bsyntax} sort-qualified term \Hline |
| 185 |
``\texttt{(}'' \textit{term} ``\texttt{)}'' ``\texttt{:}'' \textit{sort\_name} |
| 186 |
\end{bsyntax} |
| 187 |
|
| 188 |
\begin{bsyntax} plain record declaration \index{\texttt{record}} \Hline |
| 189 |
\texttt{record} \textit{record\_name} ``\texttt{\{}'' \textit{list\_of\_slot\_declarations} ``\texttt{\}}'' |
| 190 |
\end{bsyntax} |
| 191 |
|
| 192 |
\begin{bsyntax} slot declaration \Hline |
| 193 |
\textit{slot\_name} ``\texttt{:}'' \textit{sort\_name} |
| 194 |
\end{bsyntax} |
| 195 |
|
| 196 |
\begin{bsyntax} record declaration with inheritance \index{\texttt{record}} \Hline |
| 197 |
\texttt{record} \textit{record\_name} ``\texttt{[}'' \textit{list\_of\_upper\_records} ``\texttt{]}'' ``\texttt{\{}'' \textit{list\_of\_slot\_declarations} ``\texttt{\}}'' |
| 198 |
\end{bsyntax} |
| 199 |
|
| 200 |
\begin{bsyntax} upper record \Hline |
| 201 |
\textit{record\_name} $[$``\texttt{*}'' ``\texttt{(}'' \textit{slot\_mapping} ``\texttt{)}''$]$ |
| 202 |
\end{bsyntax} |
| 203 |
|
| 204 |
\begin{bsyntax} slot mapping \Hline |
| 205 |
\textit{slot\_name} ``\texttt{->}'' \textit{slot\_name} $\{$ ``\texttt{,}'' \textit{slot\_name} ``\texttt{->}'' \textit{slot\_name} $\}$ $*$ |
| 206 |
\end{bsyntax} |
| 207 |
|
| 208 |
\begin{bsyntax} variable declaration \index{\texttt{var}}\index{\texttt{vars}} \Hline |
| 209 |
\texttt{var} \textit{ariable\_name} ``\texttt{:}'' \textit{sort\_name} |
| 210 |
\texttt{vars} \textit{list\_of\_variable\_names} ``\texttt{:}'' \textit{sort\_name} |
| 211 |
\end{bsyntax} |
| 212 |
|
| 213 |
\begin{bsyntax} variable declaration on the fly \Hline |
| 214 |
\textit{variable\_name}``\texttt{:}''\textit{sort\_name} |
| 215 |
\end{bsyntax} |
| 216 |
|
| 217 |
\begin{bsyntax} unconditional equation declaration \index{\texttt{eq}} \Hline |
| 218 |
\index{\texttt{=} (in equations)} |
| 219 |
\texttt{eq} $[$\textit{label}$]$ \textit{term} ``\texttt{=}'' \textit{term} ``\texttt{.}'' |
| 220 |
\end{bsyntax} |
| 221 |
|
| 222 |
\begin{bsyntax} label in axioms \Hline |
| 223 |
``\/\texttt{[}'' \textit{label\_name} ``\texttt{]}'' ``\texttt{:}'' |
| 224 |
\end{bsyntax} |
| 225 |
|
| 226 |
\begin{bsyntax} conditional equation declaration \index{\texttt{ceq}} \Hline |
| 227 |
\index{\texttt{if}} |
| 228 |
\texttt{ceq} $[$\textit{label}$]$ \textit{term} ``\texttt{=}'' \textit{term} \texttt{if} \textit{boolean\_term} ``\texttt{.}'' |
| 229 |
\end{bsyntax} |
| 230 |
|
| 231 |
\begin{bsyntax} behavioural equation declaration \Hline |
| 232 |
\index{behavioural equation}\index{\texttt{beq}}\index{\texttt{bceq}} |
| 233 |
\texttt{beq} $[$\textit{label} $]$ \textit{term} ``\texttt{=}'' \textit{term} ``\texttt{.}'' |
| 234 |
\texttt{bceq} $[$\textit{label}$]$ \textit{term} ``\texttt{=}'' \textit{term} \texttt{if} \textit{boolean\_term} ``\texttt{.}'' |
| 235 |
\end{bsyntax} |
| 236 |
|
| 237 |
\begin{bsyntax} transition declaration \Hline |
| 238 |
\index{\texttt{trans}}\index{\texttt{ctrans}}\index{\texttt{btrans}} |
| 239 |
\index{\texttt{bctrans}}\index{\texttt{=>} (in transitions)} |
| 240 |
\texttt{trans} $[$\textit{label}$]$ \textit{term} ``\texttt{=>}'' \textit{term} ``\texttt{.}'' |
| 241 |
\texttt{ctrans} $[$\textit{label}$]$ \textit{term} ``\texttt{=>}'' \textit{term} \texttt{if} \textit{boolean\_term} ``\texttt{.}'' |
| 242 |
\texttt{btrans} $[$\textit{label}$]$ \textit{term} ``\texttt{=>}'' \textit{term} ``\texttt{.}'' |
| 243 |
\texttt{bctrans} $[$\textit{label}$]$ \textit{term} ``\texttt{=>}'' \textit{term} \texttt{if} \textit{boolean\_term} ``\texttt{.}'' |
| 244 |
\end{bsyntax} |
| 245 |
|
| 246 |
\begin{bsyntax} \texttt{reduce} command \index{\texttt{reduce}} \Hline |
| 247 |
\texttt{reduce} $[$\texttt{in} \textit{module\_expression} ``\texttt{:}''$]$ \textit{term} ``\texttt{.}'' |
| 248 |
\end{bsyntax} |
| 249 |
|
| 250 |
\begin{bsyntax} \texttt{breduce} command \index{\texttt{breduce}} \Hline |
| 251 |
\texttt{breduce} $[$\texttt{in} \textit{module\_expression} ``\texttt{:}'' $]$ \textit{term} ``\texttt{.}'' |
| 252 |
\end{bsyntax} |
| 253 |
|
| 254 |
\begin{bsyntax} \texttt{execute} command \index{\texttt{execute}} \Hline |
| 255 |
\texttt{execute} $[$\texttt{in} \textit{module\_expression} ``\texttt{:}''$]$ \textit{term} ``\texttt{.}'' |
| 256 |
\end{bsyntax} |
| 257 |
|
| 258 |
\begin{bsyntax} \texttt{stop} command \index{\texttt{stop}} \Hline |
| 259 |
\texttt{stop} \textit{term} ``\texttt{.}'' |
| 260 |
\texttt{stop} ``\texttt{.}'' |
| 261 |
\end{bsyntax} |
| 262 |
|
| 263 |
\begin{bsyntax} \texttt{tram} command for evaluation\index{\texttt{tram}}\index{\texttt{reduce}} \Hline |
| 264 |
\index{\texttt{execute}} |
| 265 |
\texttt{tram} $\{$ \texttt{reduce} $|$ \texttt{execute} $\}$ $[$\texttt{in} \textit{module\_expression} ``\texttt{:}''$]$ \textit{term} ``\texttt{.}'' |
| 266 |
\end{bsyntax} |
| 267 |
|
| 268 |
\begin{bsyntax} \texttt{tram} command for compilation \index{\texttt{tram}} \Hline |
| 269 |
\index{\texttt{compile}} |
| 270 |
\texttt{tram} \texttt{compile} $[$\texttt{-exec}$]$ $[$\textit{module\_expression}$]$ ``\texttt{.}'' |
| 271 |
\end{bsyntax} |
| 272 |
|
| 273 |
\begin{bsyntax} \texttt{let} command \index{\texttt{let}} \Hline |
| 274 |
\texttt{let} \textit{identifier} ``\texttt{=}'' term ``\texttt{.}'' |
| 275 |
\end{bsyntax} |
| 276 |
|
| 277 |
\begin{bsyntax} operator declaration with attributes \index{\texttt{op}} \Hline |
| 278 |
\texttt{op} \textit{operator\_symbol} ``\texttt{:}'' \textit{list\_of\_sort\_names} ``\texttt{->}'' \textit{sort\_name} ``\texttt{\{}'' \textit{attribute\_list} ``\texttt{\}}'' |
| 279 |
\end{bsyntax} |
| 280 |
|
| 281 |
\begin{bsyntax} evaluation strategy \index{\texttt{strat:}} \Hline |
| 282 |
\texttt{strat:} ``\texttt{(}'' \textit{integer\_list} ``\texttt{)}'' |
| 283 |
\end{bsyntax} |
| 284 |
|
| 285 |
\begin{bsyntax} \texttt{select} command \index{\texttt{select}} \Hline |
| 286 |
\texttt{select} \textit{module\_name} |
| 287 |
\end{bsyntax} |
| 288 |
|
| 289 |
\begin{bsyntax} reference to sort/operator/parameters \Hline |
| 290 |
\textit{name}$[$``\texttt{.}''\textit{module\_name}$]$ |
| 291 |
\end{bsyntax} |
| 292 |
|
| 293 |
\begin{bsyntax} operator name \Hline |
| 294 |
$\{$ \textit{mixfix\_operator\_symbol} $|$ \textit{standard\_operator\_symbol} $\}[$``\texttt{/}''\textit{number\_of\_arguments}$]$ |
| 295 |
\end{bsyntax} |
| 296 |
|
| 297 |
\begin{bsyntax} parameterised module \index{\texttt{module}} \Hline |
| 298 |
\texttt{module} \textit{module\_name} ``\texttt{(}'' \textit{list\_of\_parameters} ``\texttt{)}'' ``\texttt{\{}'' |
| 299 |
~~~~\textit{module\_element} $*$ |
| 300 |
``\texttt{\}}'' |
| 301 |
\end{bsyntax} |
| 302 |
|
| 303 |
\begin{bsyntax} parameter \Hline |
| 304 |
$[$ \textit{importation\_mode} $]$ \textit{parameter\_name} ``\texttt{::}'' \textit{module\_name} |
| 305 |
\end{bsyntax} |
| 306 |
|
| 307 |
\begin{bsyntax} view \Hline |
| 308 |
\index{\texttt{view}}\index{\texttt{from}}\index{\texttt{to}} |
| 309 |
\texttt{view} \textit{view\_name} \texttt{from} \textit{module\_name} \texttt{to} \textit{module\_name} ``\texttt{\{}'' |
| 310 |
~~~\textit{view\_element} $*_,$ |
| 311 |
``\texttt{\}}'' |
| 312 |
\end{bsyntax} |
| 313 |
|
| 314 |
\begin{bsyntax} module with principal sort \index{\texttt{principal-sort}} \Hline |
| 315 |
\texttt{module} \textit{module\_name} $[$``\texttt{(}'' \textit{list\_of\_parameters} ``\texttt{)}''$]$ \texttt{principal-sort} \textit{sort\_name} ``\texttt{\{}'' |
| 316 |
~~~~\textit{module\_element} $*$ |
| 317 |
``\texttt{\}}'' |
| 318 |
\end{bsyntax} |
| 319 |
|
| 320 |
\begin{bsyntax} instantiating parameterised module \Hline |
| 321 |
\textit{module\_name} ``\texttt{(}'' \textit{binding} $+_,$ ``\texttt{)}'' |
| 322 |
\end{bsyntax} |
| 323 |
|
| 324 |
\begin{bsyntax} module constant \Hline |
| 325 |
\textit{module\_name} |
| 326 |
\end{bsyntax} |
| 327 |
|
| 328 |
\begin{bsyntax} renaming \index{\texttt{*} (for remaning)} \Hline |
| 329 |
\textit{module\_expression} ``\texttt{*}'' ``\texttt{\{}'' \textit{map} $*_,$ ``\texttt{\}}'' |
| 330 |
\end{bsyntax} |
| 331 |
|
| 332 |
\begin{bsyntax} module sum \index{\texttt{+} (module sum)} \Hline |
| 333 |
\textit{module\_expression} ``\texttt{+}'' \textit{module\_expression} $\{$ ``\texttt{+}'' \textit{module\_expression} $\}$ $*$ |
| 334 |
\end{bsyntax} |
| 335 |
|
| 336 |
\begin{bsyntax} \texttt{make} command \index{\texttt{make}} \Hline |
| 337 |
\texttt{make} \textit{module\_name} ``\texttt{(}'' \textit{module\_expression} ``\texttt{)}'' |
| 338 |
\end{bsyntax} |
| 339 |
|
| 340 |
\begin{bsyntax} \texttt{open} command \index{\texttt{open}} \Hline |
| 341 |
\texttt{open} \textit{module\_name} |
| 342 |
\end{bsyntax} |
| 343 |
|
| 344 |
\begin{bsyntax} \texttt{close} command \index{\texttt{close}} \Hline |
| 345 |
\texttt{close} |
| 346 |
\end{bsyntax} |
| 347 |
|
| 348 |
\begin{bsyntax} constant declaration on the fly \Hline |
| 349 |
\textit{constant\_name}``\texttt{:}''\textit{sort\_name} |
| 350 |
\end{bsyntax} |
| 351 |
|
| 352 |
\begin{bsyntax} \texttt{start} command \index{\texttt{start}} \Hline |
| 353 |
\texttt{start} \textit{term} ``\texttt{.}'' |
| 354 |
\end{bsyntax} |
| 355 |
|
| 356 |
\begin{bsyntax} \texttt{apply} command \index{\texttt{apply}} \Hline |
| 357 |
\texttt{apply} \textit{action} $[$\textit{substitution}$]$ \textit{range selection} |
| 358 |
\end{bsyntax} |
| 359 |
|
| 360 |
\begin{bsyntax} rule specification in \texttt{}apply\textit{} command \Hline |
| 361 |
$[$``\texttt{+}''$|$``\texttt{-}''$]$$[$\textit{module\_name}$]$``\texttt{.}''$\{$ \textit{number}$|$\textit{label} $\}$ |
| 362 |
\end{bsyntax} |
| 363 |
|
| 364 |
\begin{bsyntax} substitution specification in \texttt{}apply\textit{} command \Hline |
| 365 |
~~~~\texttt{}with\textit{} $\{$ variable ``\/\texttt{}=\textit{}'' term $\}$ $+_,$ |
| 366 |
\end{bsyntax} |
| 367 |
|
| 368 |
\begin{bsyntax} \texttt{choose} command \index{\texttt{choose}}\Hline |
| 369 |
\texttt{choose} \textit{selection} |
| 370 |
\end{bsyntax} |
| 371 |
|
| 372 |
\begin{bsyntax} \texttt{match} command \index{\texttt{match}}\Hline |
| 373 |
\texttt{match} \textit{term\_specifier} \texttt{to} \textit{pattern} ``\texttt{.}'' |
| 374 |
\end{bsyntax} |
| 375 |
|
| 376 |
\begin{bsyntax} \texttt{check} command \index{\texttt{check}}\Hline |
| 377 |
\index{\texttt{regularity}}\index{\texttt{compatibility}}\index{\texttt{laziness}} |
| 378 |
\texttt{check} $\{$ \texttt{regularity} $|$ \texttt{compatibility} $\}$ $[$\textit{module\_expression}$]$ |
| 379 |
\texttt{check} $\{$ \texttt{laziness} $\}$ $[$\textit{operator\_name}$]$ |
| 380 |
\end{bsyntax} |
| 381 |
|
| 382 |
\end{document} |