\lstset{%
basicstyle=\ttfamily\footnotesize,
breaklines,
- captionpos=b
+ captionpos=b,
+ frame=L
}
\newcommand{\SPLC}{\texttt{SPLC}}
\newcommand{\SPL}{\texttt{SPL}}
\newcommand{\SSM}{\texttt{SSM}}
\newcommand{\Yard}{\textsc{Yard}}
-\def\AST/{\texttt{AST}}
+\newcommand{\AST}{\emph{AST}}
\let\tt\texttt
\subsection{Grammar}
\lstinputlisting[label={lst:grammar}]{../../grammar/grammar.txt}
+\newpage
+\subsection{Abstract Syntax Tree}
+\lstinputlisting[
+ label={lst:ast},
+ language=Clean,
+ firstline=6,
+ lastline=42]{../../AST.dcl}
+
\end{document}