# HG changeset patch # User Christian Urban # Date 1571581462 -3600 # Node ID 393d8ae074a446f77b0722bf7999c9b235321e3d # Parent 7f7098f0b5f079e984790faf314e226cdcabe0ec updated diff -r 7f7098f0b5f0 -r 393d8ae074a4 coursework/cw02.pdf Binary file coursework/cw02.pdf has changed diff -r 7f7098f0b5f0 -r 393d8ae074a4 coursework/cw02.tex --- a/coursework/cw02.tex Thu Oct 17 14:02:59 2019 +0100 +++ b/coursework/cw02.tex Sun Oct 20 15:24:22 2019 +0100 @@ -172,7 +172,7 @@ Extend your lexer from Q2 to also simplify regular expressions after each derivation step and rectify the computed values after each injection. Use this lexer to tokenize the programs in -Figure~\ref{fib}, \ref{loop} and \ref{factor}. Give the tokens of these +Figure~\ref{fib}, \ref{loop} and \ref{factors}. Give the tokens of these programs where whitespaces are filtered out. Make sure you can tokenise \textbf{exactly} these programs.\bigskip