# HG changeset patch # User Christian Urban # Date 1571581462 -3600 # Node ID a7071c2a9446e07bbe0d1e80a08470009f1f84c8 # Parent 8da26d4c2ca87abcabc78cc2af4e10869f29bf52 updated diff -r 8da26d4c2ca8 -r a7071c2a9446 coursework/cw02.pdf Binary file coursework/cw02.pdf has changed diff -r 8da26d4c2ca8 -r a7071c2a9446 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