6de42e597990394e467d67138e014cf7ed687e81
[cc1516.git] / deliverables / report / report.tex
1 \documentclass{article}
2
3 \usepackage{listings}
4 \usepackage{clean}
5 \usepackage{spl}
6 \usepackage{hyperref}
7 \usepackage[a4paper]{geometry}
8 \usepackage{proof}
9
10 \title{Compiler Construction: SPL Compiler}
11 \author{Pim Jager\and Mart Lubbers}
12 \date{\today}
13
14 \lstset{%
15 basicstyle=\ttfamily\footnotesize,
16 breaklines,
17 captionpos=b,
18 frame=L
19 }
20
21 \newcommand{\SPLC}{\texttt{SPLC}}
22 \newcommand{\SPL}{\texttt{SPL}}
23 \newcommand{\SSM}{\texttt{SSM}}
24 \newcommand{\Yard}{\textsc{Yard}}
25 \newcommand{\AST}{\emph{AST}}
26
27 \let\tt\texttt
28
29 \begin{document}
30 \maketitle
31 \tableofcontents
32 \newpage
33
34 \input{intro.tex}
35
36 \input{pars.tex}
37
38 \input{sem.tex}
39
40 \input{gen.tex}
41
42 \input{ext.tex}
43
44 \newpage
45 \section{Appendices}
46 \subsection{Grammar}
47 \lstinputlisting[label={lst:grammar}]{../../grammar/grammar.txt}
48
49 \newpage
50 \subsection{Abstract Syntax Tree}
51 \lstinputlisting[
52 label={lst:ast},
53 language=Clean,
54 firstline=6,
55 lastline=42]{../../AST.dcl}
56
57 \end{document}