coursework/cw02.tex
changeset 200 7415871b1ef5
parent 199 89cafeb66f40
child 216 f5ec7c597c5b
equal deleted inserted replaced
199:89cafeb66f40 200:7415871b1ef5
    65 {\bf UPDATE:} There was a typo in Q1 about the regular expressions for comments:
    65 {\bf UPDATE:} There was a typo in Q1 about the regular expressions for comments:
    66 they should, of course, start with $\slash\slash$, as in C for example, not with 
    66 they should, of course, start with $\slash\slash$, as in C for example, not with 
    67 $\backslash\backslash$. (Thanks to Bryan who pointed out this error.)\bigskip\bigskip
    67 $\backslash\backslash$. (Thanks to Bryan who pointed out this error.)\bigskip\bigskip
    68 
    68 
    69 \noindent
    69 \noindent
    70 This coursework is worth 3\% and is due on 27 November at 16:00. You are asked to 
    70 This coursework is worth 3\% and is due on 29 November at 16:00. You are asked to 
    71 
    71 
    72 \begin{enumerate}
    72 \begin{enumerate}
    73 \item implement a tokeniser for the WHILE language,
    73 \item implement a tokeniser for the WHILE language,
    74 \item implement a parser and an evaluator for boolean and arithmetic expressions, and
    74 \item implement a parser and an evaluator for boolean and arithmetic expressions, and
    75 \item write a WHILE program for printing out prime numbers.
    75 \item write a WHILE program for printing out prime numbers.