1 \documentclass[draft
]{article
}
3 \usepackage{listings,clean,spl
} %Sourcecode
4 \usepackage[hidelinks
]{hyperref
} %Clickable references
5 \usepackage[a4paper]{geometry
} %Paper size
6 \usepackage{proof
} %Prooftrees
7 \usepackage{lscape
} %Landscap pages
9 \title{Compiler Construction: SPL Compiler
}
10 \author{Pim Jager
\and Mart Lubbers
}
14 basicstyle=
\footnotesize\ttfamily,
20 \newcommand{\SPLC}{\texttt{SPLC
}}
21 \newcommand{\SPL}{\texttt{SPL
}}
22 \newcommand{\SSM}{\texttt{SSM
}}
23 \newcommand{\Yard}{\textsc{Yard
}}
24 \newcommand{\AST}{\emph{AST
}}
25 \newcommand{\ADT}{\emph{ADT
}}
26 \newcommand{\Clean}{\emph{Clean
}}
27 \newcommand{\unif}{{\scriptscriptstyle\cup}}
49 \lstinputlisting[label=
{lst:grammar
}]{../../grammar/grammar.txt
}
52 \subsection{Abstract Syntax Tree
}
57 lastline=
42]{../../AST.dcl
}
61 \subsection{Inference rules
}\label{sec:infRules
}