|     11 \noindent This coursework is worth 10\% and is due on \cwTWO{} at |     11 \noindent This coursework is worth 10\% and is due on \cwTWO{} at | 
|     12 16:00. You are asked to implement the Sulzmann \& Lu lexer for the |     12 16:00. You are asked to implement the Sulzmann \& Lu lexer for the | 
|     13 WHILE language. You can do the implementation in any programming |     13 WHILE language. You can do the implementation in any programming | 
|     14 language you like, but you need to submit the source code with which |     14 language you like, but you need to submit the source code with which | 
|     15 you answered the questions, otherwise a mark of 0\% will be |     15 you answered the questions, otherwise a mark of 0\% will be | 
|     16 awarded. You need to submit your written |     16 awarded. You need to submit your written answers as pdf---see attached | 
|     17 answers as pdf---see attached questionaire.  Code send as code. If you use |     17 questionaire.  Code send as code. If you use Scala in your code, a | 
|     18 Scala in your code, a good place to start is the file \texttt{lexer.sc} |     18 good place to start is the file \texttt{lexer.sc} and | 
|     19 and \texttt{token.sc} |     19 \texttt{token.sc} uploaded to KEATS. The template file on Github is | 
|     20 that are uploaded to Github. |     20 called \texttt{cw02.sc}. Your code needs to be uploaded to Github by | 
|         |     21 the deadline. | 
|     21  |     22  | 
|     22 \subsection*{Disclaimer\alert} |     23 \subsection*{Disclaimer\alert} | 
|     23  |     24  | 
|     24 It should be understood that the work you submit represents |     25 It should be understood that the work you submit represents | 
|     25 your own effort. You have not copied from anyone else |     26 your own effort. You have not copied from anyone else |