Binary file coursework/cw01.pdf has changed
Binary file coursework/cw02.pdf has changed
Binary file coursework/cw03.pdf has changed
Binary file coursework/cw04.pdf has changed
Binary file coursework/cw05.pdf has changed
Binary file handouts/ho01.pdf has changed
--- a/handouts/ho01.tex Fri May 01 21:30:13 2015 +0100
+++ b/handouts/ho01.tex Thu Sep 24 15:58:48 2015 +0100
@@ -16,7 +16,7 @@
Knuth-Morris-Pratt algorithm, which is currently the most
efficient general string search algorithm. But often we do
\emph{not} just look for a particular string, but for string
-patterns. For example in programming code we need to identify
+patterns. For example in program code we need to identify
what are the keywords, what are the identifiers etc. A pattern
for identifiers could be stated as: they start with a letter,
followed by zero or more letters, numbers and underscores.
@@ -69,11 +69,12 @@
disposable.style.email.with+symbol@example.com
\end{lstlisting}
-As mentioned above, identifiers, or variables, in program text are often required
-to satisfy the constraints that they start with a letter and
-then can be followed by zero or more letters or numbers and
-also can include underscores, but not as the first character.
-Such identifiers can be recognised with the regular expression
+As mentioned above, identifiers, or variables, in program code
+are often required to satisfy the constraints that they start
+with a letter and then can be followed by zero or more letters
+or numbers and also can include underscores, but not as the
+first character. Such identifiers can be recognised with the
+regular expression
\begin{center}
\pcode{[a-zA-Z] [a-zA-Z0-9_]*}
Binary file handouts/ho02.pdf has changed
Binary file handouts/ho03.pdf has changed
Binary file handouts/ho04.pdf has changed
Binary file handouts/ho05.pdf has changed
Binary file handouts/ho06.pdf has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/handouts/ho07.tex Thu Sep 24 15:58:48 2015 +0100
@@ -0,0 +1,17 @@
+\documentclass{article}
+\usepackage{../style}
+\usepackage{../langs}
+
+
+\begin{document}
+
+\section*{Handout 7 (Compiling)}
+
+
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
Binary file handouts/notation.pdf has changed
Binary file handouts/scala-ho.pdf has changed
Binary file hws/hw01.pdf has changed
Binary file hws/hw02.pdf has changed
Binary file hws/hw03.pdf has changed
Binary file hws/hw04.pdf has changed
Binary file hws/hw05.pdf has changed
Binary file hws/hw06.pdf has changed
Binary file hws/hw07.pdf has changed
Binary file hws/hw08.pdf has changed
Binary file hws/hw09.pdf has changed
Binary file hws/proof.pdf has changed
Binary file slides/slides01.pdf has changed
--- a/slides/slides01.tex Fri May 01 21:30:13 2015 +0100
+++ b/slides/slides01.tex Thu Sep 24 15:58:48 2015 +0100
@@ -241,7 +241,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[c]
-\frametitle{Lectures 1 - 6}
+\frametitle{Lectures 1 - 5}
transforming strings into structured data\\[10mm]
@@ -305,7 +305,7 @@
\begin{itemize}
\item a web-crawler
\item an email harvester
-\item a web-scraper
+\item \textcolor{gray}{a web-scraper}
\end{itemize}
\end{frame}
Binary file slides/slides02.pdf has changed
Binary file slides/slides03.pdf has changed
Binary file slides/slides04.pdf has changed
Binary file slides/slides05.pdf has changed
Binary file slides/slides06.pdf has changed
Binary file slides/slides07.pdf has changed
Binary file slides/slides08.pdf has changed
Binary file slides/slides09.pdf has changed
Binary file slides/slides10.pdf has changed
--- a/style.sty Fri May 01 21:30:13 2015 +0100
+++ b/style.sty Thu Sep 24 15:58:48 2015 +0100
@@ -9,6 +9,8 @@
\definecolor{darkblue}{rgb}{0,0,0.6}
\usepackage[colorlinks=true,urlcolor=darkblue,linkcolor=darkblue]{hyperref}
+%%% for trees
+%% http://anorien.csc.warwick.ac.uk/mirrors/CTAN/graphics/pgf/contrib/forest/forest.pdf
\newcommand\grid[1]{%
\begin{tikzpicture}[baseline=(char.base)]