handouts/ho04.tex
changeset 643 08375ca3874e
parent 596 6d6e79f95933
child 669 2f5a4d76756d
--- a/handouts/ho04.tex	Tue Oct 01 23:40:25 2019 +0100
+++ b/handouts/ho04.tex	Tue Oct 01 23:49:39 2019 +0100
@@ -801,19 +801,19 @@
 
 \begin{center}\tt
 \begin{tabular}{l}
-KEYWORD(if),\\ 
-WHITESPACE,\\ 
-IDENT(true),\\ 
-WHITESPACE,\\ 
-KEYWORD(then),\\ 
-WHITESPACE,\\ 
-KEYWORD(then),\\ 
-WHITESPACE,\\ 
-NUM(42),\\ 
-WHITESPACE,\\ 
-KEYWORD(else),\\ 
-WHITESPACE,\\ 
-OP(+)
+(k, if),\\ 
+(w, " "),\\ 
+(i, true),\\ 
+(w, " "),\\ 
+(k, then),\\ 
+(w, " "),\\ 
+(k, then),\\ 
+(w, " "),\\ 
+(n, 42),\\ 
+(w, " "),\\ 
+(k, else),\\ 
+(w, " "),\\ 
+(o, +)
 \end{tabular}
 \end{center}
 
@@ -822,13 +822,13 @@
 
 \begin{center}\tt
 \begin{tabular}{l}
-KEYWORD(if),\\ 
-IDENT(true),\\ 
-KEYWORD(then),\\ 
-KEYWORD(then),\\ 
-NUM(42),\\ 
-KEYWORD(else),\\ 
-OP(+)
+  (k, if),\\ 
+  (i, true),\\ 
+  (k, then),\\ 
+  (k, then),\\ 
+  (n, 42),\\ 
+  (k, else),\\ 
+  (o, +)
 \end{tabular}
 \end{center}