equal
deleted
inserted
replaced
10 \section*{Coursework 4 (Strand 1)} |
10 \section*{Coursework 4 (Strand 1)} |
11 |
11 |
12 \noindent This coursework is worth 10\% and is due on 11 |
12 \noindent This coursework is worth 10\% and is due on 11 |
13 December at 16:00. You are asked to implement a compiler for |
13 December at 16:00. You are asked to implement a compiler for |
14 the WHILE language that targets the assembler language |
14 the WHILE language that targets the assembler language |
15 provided by Jasmin. This assembler is available from |
15 provided by Jasmin or Krakatau. You can do the implementation |
|
16 in any programming language you like, but you need to submit |
|
17 the source code with which you answered the questions, |
|
18 otherwise a mark of 0\% will be awarded. You should use the |
|
19 lexer and parser from the previous courseworks. |
|
20 |
|
21 \subsection*{Disclaimer} |
|
22 |
|
23 It should be understood that the work you submit represents |
|
24 your own effort. You have not copied from anyone else. An |
|
25 exception is the Scala code I showed during the lectures, |
|
26 which you can use. You can also use your own code from the |
|
27 CW~1, CW~2 and CW~3. |
|
28 |
|
29 |
|
30 \subsection*{Assemblers} |
|
31 |
|
32 The Jasmin assembler is available from |
16 |
33 |
17 \begin{center} |
34 \begin{center} |
18 \url{http://jasmin.sourceforge.net} |
35 \url{http://jasmin.sourceforge.net} |
19 \end{center} |
36 \end{center} |
20 |
37 |