83 \subsection*{Disclaimer\alert} |
83 \subsection*{Disclaimer\alert} |
84 |
84 |
85 It should be understood that the work you submit represents your own |
85 It should be understood that the work you submit represents your own |
86 effort. You have not copied from anyone else. An exception is the |
86 effort. You have not copied from anyone else. An exception is the |
87 Scala code I showed during the lectures or uploaded to KEATS, which |
87 Scala code I showed during the lectures or uploaded to KEATS, which |
88 you can both use. You can also use your own code from the CW~1 -- |
88 you can both use. You can also use your own code from CW~1 -- |
89 CW~4. %But do not |
89 CW~4. %But do not |
90 %be tempted to ask Github Copilot for help or do any other |
90 %be tempted to ask Github Copilot for help or do any other |
91 %shenanigans like this! |
91 %shenanigans like this! |
92 |
92 |
93 |
93 |
94 \subsection*{Task} |
94 \subsection*{Task} |
95 |
95 |
96 The goal is to lex and parse 5 Fun-programs, including the |
96 The goal is to lex and parse five Fun-programs, including the |
97 Mandelbrot program shown in Figure~\ref{mand}, and generate |
97 Mandelbrot program shown in Figure~\ref{mand}, and generate |
98 corresponding code for the LLVM-IR. Unfortunately the calculations for |
98 corresponding code for the LLVM-IR. Unfortunately the calculations for |
99 the Mandelbrot Set require floating point arithmetic and therefore we |
99 the Mandelbrot Set require floating point arithmetic and therefore we |
100 cannot be as simple-minded about types as we have been so far |
100 cannot be as simple-minded about types as we have been so far |
101 (remember the LLVM-IR is a fully-typed language and needs to know the |
101 (remember the LLVM-IR is a fully-typed language and needs to know the |