\part{Appendix} \appendix \chapter{Syntax} \begin{grammar} = `A' | `B' | … | `Z' | `a' | `b' | … | `z' | `\_'. = `1' | `2' | `3' | `4' | `5' | `6' | `7' | `8' | `9'. = `0' | . = | `A' | `B' | … | `F' | `a' | `b' | … | `f'. = `0' | `1'. = `\\x' . = `\\' \\ (`n' | `a' | `b' | `t' | `f' | `r' | `v' | `\\' | `\textquotesingle' | `\textquotedbl' | `?\@' | `0'). = \enspace? a printable ASCII character\space?. = | | . = \{ | \}. = [`*']. = `#' . = `0' | \{\}. = `u' \alt{} `0' (`X' | `x') \{\} \alt{} `0' (`B' | `b') \{\}. = `.\@' \{\} \alt{} \} `e' [`+' | `-'] \{\}. = `\textquotedbl' \{\} `\textquotedbl'. = `\textquotesingle' `\textquotesingle'. = | | \alt{} | \alt{} `true' | `false' | `nil'. = `(' [] `)'. = `cast' `(' `:\@' `)'. = `(' [] `)'. = `=' | `<>' | `<' | `>' | `<=' | `>='. = `*' | `/' | `\%'. = `+' | `-'. = `<<' | `>>'. = `@' | `~' | `-'. = `[' `]' | `.\@' | `^'. = `:\@' . = | . = \alt{} \alt{} \alt{} \alt{} \alt{} `(' `)'. = | . = \{ \}. = \{ \}. = \{ \}. = \{ \}. = \{`&' \}. = \{(`or' | `xor') \}. = \{`,' \}. = \{`,' \}. = \{`,' \}. = \{`;' \}. = []. = [`->' `!\@' | `->' type]. = `:\@' . = `[' `]' . = `^' . = `record' [`(' `)'] [ \{`;' \}] `end'. = `(' \{`,' \} `)'. = `proc' `(' [] `)' . = \alt{} \alt{} \alt{} \alt{} \alt{} . = `:=' . = `if' `then' \\ \{`elsif' `then' \} \\ {[`else' ]} `end'. = `while' `do' \\ \{`elsif' `do' \} `end'. = `defer' `end'. = `case' `of' \{`|' case\} \\ {[`else' ]} `end'. = `.\@' . = `goto' . = | | | | | | | | . = [`begin' \alt{} `return' \alt{} `begin' `;' `return' ]. = `:=' . = [`const' \{ `;'\}]. = `:\@' \\ {[`:=' ( | `extern')]}. = [`var' \{ `;'\}]. = `=' . = [`type' \{ `;'\}]. = \{`.\@' \}. = [`import' \{import-declaration `;'\}]. = `proc' \\ `(' [ \{`,' \}] `)' . = `end'. = `;' (block | `extern'). = \\ \\ \{ `;'\}. = `program' `;' `end' `.\@' \alt{} `module' `;' `end' `.\@'. \end{grammar}