5 \usepackage{../langs} |
5 \usepackage{../langs} |
6 \definecolor{navyblue}{rgb}{0.0, 0.0, 0.5} |
6 \definecolor{navyblue}{rgb}{0.0, 0.0, 0.5} |
7 \definecolor{pansypurple}{rgb}{0.47, 0.09, 0.29} |
7 \definecolor{pansypurple}{rgb}{0.47, 0.09, 0.29} |
8 |
8 |
9 \begin{document} |
9 \begin{document} |
10 \color{pansypurple} |
10 |
11 |
11 |
12 \section*{RESIT / REPLACEMENT} |
12 %\color{pansypurple} |
13 |
13 %\section*{RESIT / REPLACEMENT} |
14 {\bf |
14 % |
15 The resit / replacement task is essentially CW5 (listed below) with |
15 %{\bf |
16 the exception that the lexer and parser is already provided. The |
16 %The resit / replacement task is essentially CW5 (listed below) with |
17 parser will generate an AST (see file \texttt{fun\_llvm.sc}). Your task |
17 %the exception that the lexer and parser is already provided. The |
18 is to generate an AST for the K-intermediate language and supply |
18 %parser will generate an AST (see file \texttt{fun\_llvm.sc}). Your task |
19 sufficient type annotations such that you can generate valid code for |
19 %is to generate an AST for the K-intermediate language and supply |
20 the LLVM-IR. The submission deadline is 9th August at 16:00. At the |
20 %sufficient type annotations such that you can generate valid code for |
21 deadline, please send me an email containing a zip-file with your |
21 %the LLVM-IR. The submission deadline is 9th August at 16:00. At the |
22 files. |
22 %deadline, please send me an email containing a zip-file with your |
23 Feel free to reuse the files I have uploaded on KEATS (especially |
23 %files. |
24 the files generating simple LLVM-IR code). Of help might also be the |
24 %Feel free to reuse the files I have uploaded on KEATS (especially |
25 videos of Week~10.\bigskip |
25 %the files generating simple LLVM-IR code). Of help might also be the |
26 |
26 %videos of Week~10.\bigskip |
27 \noindent |
27 % |
28 Good Luck!} |
28 %\noindent |
29 \color{black} |
29 %Good Luck!} |
|
30 %\color{black} |
30 |
31 |
31 |
32 |
32 \section*{Coursework 5} |
33 \section*{Coursework 5} |
33 |
34 |
34 |
35 |