%!TEX root = manual.tex
%
\chapter{Tutorial}
\label{chap:tutorial}

This section will introduce the important concepts behind ASDL and
\asdlgen{} through some informal examples.
\chapref{chap:invocation} covers the details of invoking
\asdlgen{}.
%If \asdlgen{} is not installed yet the interactive
%demonstration at <url url="&url.asdlGen.demo;"> can be used to step
%through the examples presented here.

\begin{quote}
  \lstinputlisting[language=ASDL]{code/slp1.asdl}
\end{quote}%

\begin{quote}
  \lstinputlisting[language=ASDL]{code/slp2.asdl}
\end{quote}%

\begin{quote}
  \lstinputlisting[language=ASDL]{code/slp3.asdl}
\end{quote}%

\begin{quote}
  \lstinputlisting[language=ASDL]{code/slp4.asdl}
\end{quote}%

\begin{quote}
  \lstinputlisting[language=ASDL]{code/mod-example.asdl}
\end{quote}%

\begin{quote}
  \lstinputlisting[language=ASDL]{code/int-map.asdl}
\end{quote}%
