diff -r fddf099a82f8 -r 64ec1884d860 cws/cw05.tex --- a/cws/cw05.tex Sat Dec 02 21:37:04 2023 +0000 +++ b/cws/cw05.tex Wed Feb 21 09:14:12 2024 +0000 @@ -9,27 +9,27 @@ \begin{document} -\color{pansypurple} -\section*{RESIT / REPLACEMENT} +%\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 4th 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!}\smallskip\\ -\noindent -Christian -\color{black} +%{\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 4th 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!}\smallskip\\ +%\noindent +%Christian +%\color{black} \section*{Coursework 5} @@ -40,7 +40,7 @@ 16:00. You are asked to implement a compiler targeting the LLVM-IR. Be careful that this CW needs some material about the LLVM-IR that has not been shown in the lectures and your own experiments -might be required. You can find information about the LLVM-IR at +and research might be required. You can find information about the LLVM-IR at \begin{itemize} \item \url{https://bit.ly/3rheZYr} @@ -56,15 +56,18 @@ coursework. You should use the lexer and parser from the previous courseworks, but you need to make some modifications to them for the `typed' version of the Fun-language. I will award up to 5\% if a lexer -and a parser are correctly implemented. At the end, please package -everything(!) in a zip-file that creates a directory with the name +and a parser are correctly implemented. -\begin{center} -\texttt{YournameYourFamilyname} -\end{center} - -\noindent -on my end. You will be marked according to the input files +%At the end, please package +%everything(!) in a zip-file that creates a directory with the name +% +%\begin{center} +%\texttt{YournameYourFamilyname} +%\end{center} +% +%\noindent +%on my end. +You will be marked according to the input files \begin{itemize} \item\href{https://nms.kcl.ac.uk/christian.urban/cfl/progs/sqr.fun}{sqr.fun} @@ -75,7 +78,7 @@ \end{itemize} \noindent -which are uploaded to KEATS. +which are uploaded to KEATS and Github. \subsection*{Disclaimer\alert}