--- a/slides01.tex Sun Sep 30 00:06:52 2012 +0100
+++ b/slides01.tex Sun Sep 30 00:12:34 2012 +0100
@@ -359,10 +359,12 @@
\newcommand{\bl}[1]{\textcolor{blue}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>{
-\begin{frame}[c]
+\begin{frame}[t]
\frametitle{\begin{tabular}{c}Regular Expressions\end{tabular}}
-\begin{textblock}{6}(2,4)
+Their inductive definition:\medskip
+
+\begin{textblock}{6}(2,5)
\begin{tabular}{@ {}rrl@ {\hspace{13mm}}l}
\bl{r} & \bl{$::=$} & \bl{$\varnothing$} & null\\
& \bl{$\mid$} & \bl{$\epsilon$} & empty string / "" / []\\
@@ -381,6 +383,10 @@
\begin{frame}[t]
\frametitle{\begin{tabular}{c}Regular Expressions\end{tabular}}
+\small
+In Scala:
+
+
{\lstset{language=Scala}\fontsize{8}{10}\selectfont
\texttt{\lstinputlisting{app51.scala}}}
@@ -460,8 +466,8 @@
\begin{itemize}
\item The question ``Is this relevant for the exam?'' is not appreciated!\bigskip\\
-Whatever is in the homework sheets (and is not marked optional) is relevant for the
-exam.\\ No code needs to be written.
+Whatever is in the homework sheets (and is not marked ``optional'') is relevant for the
+exam.\\ No code needs to be written in the exam.
\end{itemize}
\end{frame}}