cws/cw05.tex
author Christian Urban <christian.urban@kcl.ac.uk>
Tue, 17 Nov 2020 00:36:16 +0000
changeset 806 0d3bc1d0d987
parent 752 c0bdd4ad69ca
child 820 7fd1f611c21d
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
630
9b1c15c3eb6f updated
Christian Urban <urbanc@in.tum.de>
parents: 567
diff changeset
     1
% !TEX program = xelatex
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\documentclass{article}
299
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 298
diff changeset
     3
\usepackage{../style}
216
f5ec7c597c5b updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 214
diff changeset
     4
\usepackage{../langs}
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     5
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
\begin{document}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     7
751
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
     8
\section*{Coursework 5}
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     9
722
14914b57e207 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 719
diff changeset
    10
14914b57e207 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 719
diff changeset
    11
751
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
    12
\noindent This coursework is worth 12\% and is due on \cwFIVE{} at
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
    13
18:00. You are asked to implement a compiler targetting the LLVM-IR.
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
    14
You can do the implementation in any programming
748
383f2a5952ce updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 722
diff changeset
    15
language you like, but you need to submit the source code with which
383f2a5952ce updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 722
diff changeset
    16
you answered the questions, otherwise a mark of 0\% will be
383f2a5952ce updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 722
diff changeset
    17
awarded. You should use the lexer from the previous coursework for the
383f2a5952ce updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 722
diff changeset
    18
parser.  Please package everything(!) in a zip-file that creates a
383f2a5952ce updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 722
diff changeset
    19
directory with the name \texttt{YournameYourFamilyname} on my end.
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    20
750
e93a9e74ca8e updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 748
diff changeset
    21
\subsection*{Disclaimer\alert}
358
b3129cff41e9 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 333
diff changeset
    22
750
e93a9e74ca8e updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 748
diff changeset
    23
It should be understood that the work you submit represents your own
e93a9e74ca8e updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 748
diff changeset
    24
effort. You have not copied from anyone else. An exception is the
e93a9e74ca8e updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 748
diff changeset
    25
Scala code I showed during the lectures or uploaded to KEATS, which
751
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
    26
you can both use. You can also use your own code from the CW~1 --
4b208d81e002 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents: 750
diff changeset
    27
CW~4.
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    28
299
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 298
diff changeset
    29
419
4110ab35e5d8 updated courseworks
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 358
diff changeset
    30
\subsection*{Question 1}
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    31
419
4110ab35e5d8 updated courseworks
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 358
diff changeset
    32
\subsection*{Question 2}
201
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 200
diff changeset
    33
419
4110ab35e5d8 updated courseworks
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 358
diff changeset
    34
\subsection*{Question 3}
205
0b59588d28d2 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 204
diff changeset
    35
200
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    36
\end{document}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    37
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    38
%%% Local Variables: 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    39
%%% mode: latex
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    40
%%% TeX-master: t
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    41
%%% End: