handouts/ho07.tex
changeset 705 a5fa8ab52fe0
parent 692 96fa4a73ab48
child 708 1b5dc2468ce3
equal deleted inserted replaced
704:27959a711959 705:a5fa8ab52fe0
     4 \usepackage{../langs}
     4 \usepackage{../langs}
     5 \usepackage{../grammar}
     5 \usepackage{../grammar}
     6 \usepackage{../graphics}
     6 \usepackage{../graphics}
     7 
     7 
     8 
     8 
       
     9 %% add safety check on references...whether it is above 0 and below the 
       
    10 %% index
       
    11 
     9 \begin{document}
    12 \begin{document}
    10 \fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019}
    13 \fnote{\copyright{} Christian Urban, King's College London, 2017, 2018, 2019}
    11 
    14 
    12 \section*{Handout 7 (Compilation)}
    15 \section*{Handout 7 (Compilation)}
    13 
       
    14 
       
    15 
    16 
    16 The purpose of a compiler is to transform a program a human can read and
    17 The purpose of a compiler is to transform a program a human can read and
    17 write into code the machine can run as fast as possible. The fastest
    18 write into code the machine can run as fast as possible. The fastest
    18 code would be machine code the CPU can run directly, but it is often
    19 code would be machine code the CPU can run directly, but it is often
    19 good enough for improving the speed of a program to target a
    20 good enough for improving the speed of a program to target a