equal
deleted
inserted
replaced
36 \begin{center} |
36 \begin{center} |
37 \texttt{YournameYourFamilyname} |
37 \texttt{YournameYourFamilyname} |
38 \end{center} |
38 \end{center} |
39 |
39 |
40 \noindent |
40 \noindent |
41 on my end. |
41 on my end. You will be marked according to the input files |
|
42 |
|
43 \begin{itemize} |
|
44 \item\href{https://talisker.nms.kcl.ac.uk/cgi-bin/repos.cgi/afl-material/raw-file/tip/progs/fun2/sqr.fun}{sqr.fun} |
|
45 \item\href{https://talisker.nms.kcl.ac.uk/cgi-bin/repos.cgi/afl-material/raw-file/tip/progs/fun2/fact.fun}{fact.fun} |
|
46 \item\href{https://talisker.nms.kcl.ac.uk/cgi-bin/repos.cgi/afl-material/raw-file/tip/progs/fun2/mand.fun}{mand.fun} |
|
47 \item\href{https://talisker.nms.kcl.ac.uk/cgi-bin/repos.cgi/afl-material/raw-file/tip/progs/fun2/mand2.fun}{mand2.fun} |
|
48 \item\href{https://talisker.nms.kcl.ac.uk/cgi-bin/repos.cgi/afl-material/raw-file/tip/progs/fun2/hanoi.fun}{hanoi.fun} |
|
49 \end{itemize} |
|
50 |
|
51 \noindent |
|
52 which are uploaded to KEATS. |
42 |
53 |
43 \subsection*{Disclaimer\alert} |
54 \subsection*{Disclaimer\alert} |
44 |
55 |
45 It should be understood that the work you submit represents your own |
56 It should be understood that the work you submit represents your own |
46 effort. You have not copied from anyone else. An exception is the |
57 effort. You have not copied from anyone else. An exception is the |
49 CW~4. |
60 CW~4. |
50 |
61 |
51 |
62 |
52 \subsection*{Task} |
63 \subsection*{Task} |
53 |
64 |
54 The main goal is to lex and parse 4 Fun-programs, including the |
65 The main goal is to lex and parse 5 Fun-programs, including the |
55 Mandelbrot program shown in Figure~\ref{mand}, and generate |
66 Mandelbrot program shown in Figure~\ref{mand}, and generate |
56 corresponding code for the LLVM-IR. Unfortunately the calculations for |
67 corresponding code for the LLVM-IR. Unfortunately the calculations for |
57 the Mandelbrot Set require floating point arithmetic and therefore we |
68 the Mandelbrot Set require floating point arithmetic and therefore we |
58 cannot be as simple-minded about types as we have been so far |
69 cannot be as simple-minded about types as we have been so far |
59 (remember the LLVM-IR is a fully-typed language and needs to know the |
70 (remember the LLVM-IR is a fully-typed language and needs to know the |