slides/slides01.tex
changeset 97 60a3ba90dd53
parent 95 dbe49327b6c5
child 98 1f3d89fe9820
--- a/slides/slides01.tex	Tue Sep 24 01:56:53 2013 +0100
+++ b/slides/slides01.tex	Tue Sep 24 23:16:00 2013 +0100
@@ -76,7 +76,7 @@
 	showstringspaces=false}
 
 % beamer stuff 
-\renewcommand{\slidecaption}{AFL 01, King's College London, 26.~September 2012}
+\renewcommand{\slidecaption}{AFL 01, King's College London, 25.~September 2013}
 
 
 \begin{document}
@@ -201,7 +201,7 @@
 \frametitle{\begin{tabular}{c}This Course\end{tabular}}
 
 \begin{itemize}
-\item the ultimate goal is to implement a small compiler (really small one)\bigskip
+\item the ultimate goal is to implement a small compiler (a really small one for the JVM)\bigskip
 \end{itemize}
 
 Let's start with:
@@ -257,19 +257,16 @@
 \begin{frame}[c]
 \frametitle{\begin{tabular}{c}Scala\end{tabular}}
 
-\footnotesize a simple Scala function for reading webpages\\[-3mm]
+\small a simple Scala function for reading webpages\\[-3mm]
 
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinputlisting{../progs/app0.scala}}}\pause
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinline{get_page("""http://www.inf.kcl.ac.uk/staff/urbanc/""")}}}\pause\bigskip
+{\lstset{language=Scala}\texttt{\lstinputlisting{../progs/app0.scala}}}\pause
+{\lstset{language=Scala}\texttt{\lstinline{get_page("""http://www.inf.kcl.ac.uk/staff/urbanc/""")}}}\pause\bigskip
 
 
-\footnotesize slightly more complicated for handling errors properly:\\[-3mm]
+\small slightly more complicated for handling errors properly:\\[-3mm]
 
-\footnotesize
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinputlisting{../progs/app1.scala}}}
+\small
+{\lstset{language=Scala}\texttt{\lstinputlisting{../progs/app1.scala}}}
 
 
 \end{frame}}
@@ -322,11 +319,10 @@
 \mode<presentation>{
 \begin{frame}[c]
 
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinputlisting{../progs/app2.scala}}}\medskip
+\small
+{\lstset{language=Scala}\texttt{\lstinputlisting{../progs/app2.scala}}}\medskip
 
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{crawl(some\_start\_URL, 2)}}\
+{\lstset{language=Scala}\texttt{crawl(some\_start\_URL, 2)}}\
 
 \end{frame}}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
@@ -338,8 +334,8 @@
 \footnotesize
 a version that only ``crawls'' links in my domain:
 
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinputlisting{../progs/app3.scala}}}
+\small
+{\lstset{language=Scala}\texttt{\lstinputlisting{../progs/app3.scala}}}
 
 
 \end{frame}}
@@ -352,8 +348,8 @@
 \footnotesize
 a little email ``harvester'':
 
-{\lstset{language=Scala}\fontsize{8}{10}\selectfont
-\texttt{\lstinputlisting{../progs/app4.scala}}}\bigskip
+\small
+{\lstset{language=Scala}\texttt{\lstinputlisting{../progs/app4.scala}}}\bigskip
 
 \tiny
 \textcolor{gray}{\url{http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know/}}
@@ -451,11 +447,11 @@
 
 \begin{itemize}
 \item regular expressions / regular expression matching
+\item derivatives 
 \item automata
-\item the Myhill-Nerode theorem
 \item parsing
 \item grammars
-\item a small interpreter / web browser
+\item a small interpreter / compiler
 \end{itemize}
 
 \end{frame}}