diff -r 5f5e165c9a57 -r a25da86f7c8c cws/cw05.tex --- a/cws/cw05.tex Sat Apr 02 01:52:43 2022 +0100 +++ b/cws/cw05.tex Mon Aug 29 01:16:32 2022 +0200 @@ -3,8 +3,31 @@ \usepackage{../style} \usepackage{../graphicss} \usepackage{../langs} +\definecolor{navyblue}{rgb}{0.0, 0.0, 0.5} +\definecolor{pansypurple}{rgb}{0.47, 0.09, 0.29} \begin{document} +\color{pansypurple} + +\section*{RESIT / REPLACEMENT} + +{\bf +The resit / replacement task is essentially CW5 (listed below) with +the exception that the lexer and parser is already provided. The +parser will generate an AST (see file \texttt{fun\_llvm.sc}). Your task +is to generate an AST for the K-intermediate language and supply +sufficient type annotations such that you can generate valid code for +the LLVM-IR. The submission deadline is 9th August at 16:00. At the +deadline, please send me an email containing a zip-file with your +files. +Feel free to reuse the files I have uploaded on KEATS (especially +the files generating simple LLVM-IR code). Of help might also be the +videos of Week~10.\bigskip + +\noindent +Good Luck!} +\color{black} + \section*{Coursework 5}