9 |
9 |
10 TODO: Testcases for expressions |
10 TODO: Testcases for expressions |
11 \url{https://github.com/ArashPartow/math-parser-benchmark-project} |
11 \url{https://github.com/ArashPartow/math-parser-benchmark-project} |
12 |
12 |
13 |
13 |
14 \noindent This coursework is worth 5\% and is due on \cwTHREE{} |
14 \noindent This coursework is worth 5\% and is due on \cwTHREE{} at |
15 at 18:00. You are asked to implement a parser for the |
15 18:00. You are asked to implement a parser for the WHILE language and |
16 WHILE language and also an interpreter. You can do the |
16 also an interpreter. You can do the implementation in any programming |
17 implementation in any programming language you like, but you |
17 language you like, but you need to submit the source code with which |
18 need to submit the source code with which you answered the |
18 you answered the questions, otherwise a mark of 0\% will be |
19 questions, otherwise a mark of 0\% will be awarded. You should |
19 awarded. You should use the lexer from the previous coursework for the |
20 use the lexer from the previous coursework for the parser. |
20 parser. Please package everything(!) in a zip-file that creates a |
|
21 directory with the name \texttt{YournameYourFamilyname} on my end. |
21 |
22 |
22 \subsection*{Disclaimer} |
23 \subsection*{Disclaimer} |
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. An |
26 your own effort. You have not copied from anyone else. An |