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