--- a/handouts/ho06.tex Sat Oct 27 12:17:03 2018 +0100
+++ b/handouts/ho06.tex Wed Oct 31 12:51:42 2018 +0000
@@ -1,4 +1,5 @@
+% !TEX program = xelatex
\documentclass{article}
\usepackage{../style}
\usepackage{../langs}
@@ -898,13 +899,14 @@
should be quite self-explanatory. The last two example do not produce
any integer result because our parser does not define what to do in
case of division (could be easily added), but also has no idea what to
-do with whitescpaces. To deal with them is the task of the lexer! Yes,
+do with whitespaces. To deal with them is the task of the lexer! Yes,
we can deal with them inside the grammar, but that would render many
grammars becoming unintelligible, including this one.\footnote{If you
think an easy solution is to extend the notion of what a number
should be, then think again---you still would have to deal with
- cases like \texttt{\Grid{(\VS (\VS 2+3)\VS )}}. Jusat think you have
- a grammar for a full-blown language where there are numerous such cases.}
+ cases like \texttt{\Grid{(\VS (\VS 2+3)\VS )}}. Just think of the mess
+ you would have in a grammar for a full-blown language where there are
+ numerous such cases.}
\end{document}