# HG changeset patch # User Christian Urban # Date 1443199142 -3600 # Node ID a2c18456c6b7236997e41301082734df49d3b238 # Parent 0806e45d873c72b0a65bc1d2f4c63f1eb6fc5efd updated diff -r 0806e45d873c -r a2c18456c6b7 coursework/cw01.pdf Binary file coursework/cw01.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 coursework/cw02.pdf Binary file coursework/cw02.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 coursework/cw03.pdf Binary file coursework/cw03.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 coursework/cw04.pdf Binary file coursework/cw04.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 coursework/cw05.pdf Binary file coursework/cw05.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho01.pdf Binary file handouts/ho01.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho02.pdf Binary file handouts/ho02.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho03.pdf Binary file handouts/ho03.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho04.pdf Binary file handouts/ho04.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho05.pdf Binary file handouts/ho05.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/ho06.pdf Binary file handouts/ho06.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/notation.pdf Binary file handouts/notation.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 handouts/scala-ho.pdf Binary file handouts/scala-ho.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw01.pdf Binary file hws/hw01.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw01.tex --- a/hws/hw01.tex Fri Sep 25 08:51:12 2015 +0100 +++ b/hws/hw01.tex Fri Sep 25 17:39:02 2015 +0100 @@ -5,6 +5,8 @@ \section*{Homework 1} +\HEADER + \begin{enumerate} \item {\bf (Optional)} If you want to run the code presented in the @@ -44,7 +46,7 @@ \item Let $A = \{[a], [b], [c], [d]\}$. How many strings are in $A^4$? Consider the case of $A^4$ where one of the strings in $A$ is the - empty string. + empty string, for example $A = \{[a], [b], [c], []\}$. \item How many regular expressions are there to match the string $abc$? How many if they cannot include $\epsilon$ and $\varnothing$? diff -r 0806e45d873c -r a2c18456c6b7 hws/hw02.pdf Binary file hws/hw02.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw03.pdf Binary file hws/hw03.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw04.pdf Binary file hws/hw04.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw05.pdf Binary file hws/hw05.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw06.pdf Binary file hws/hw06.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw07.pdf Binary file hws/hw07.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw08.pdf Binary file hws/hw08.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/hw09.pdf Binary file hws/hw09.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 hws/proof.pdf Binary file hws/proof.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides01.pdf Binary file slides/slides01.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides01.tex --- a/slides/slides01.tex Fri Sep 25 08:51:12 2015 +0100 +++ b/slides/slides01.tex Fri Sep 25 17:39:02 2015 +0100 @@ -245,7 +245,7 @@ transforming strings into structured data\\[10mm] -\alert<2>{\LARGE\bf Lexing} \onslide<2>{\hfill{}baseed on regular expressions}\medskip\\ +\alert<2>{\LARGE\bf Lexing} \onslide<2>{\hfill{}based on regular expressions}\medskip\\ \hspace{5mm}(recognising ``words'')\\[6mm] {\LARGE\bf Parsing}\medskip\\ diff -r 0806e45d873c -r a2c18456c6b7 slides/slides02.pdf Binary file slides/slides02.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides03.pdf Binary file slides/slides03.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides04.pdf Binary file slides/slides04.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides05.pdf Binary file slides/slides05.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides06.pdf Binary file slides/slides06.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides07.pdf Binary file slides/slides07.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides08.pdf Binary file slides/slides08.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides09.pdf Binary file slides/slides09.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 slides/slides10.pdf Binary file slides/slides10.pdf has changed diff -r 0806e45d873c -r a2c18456c6b7 style.sty --- a/style.sty Fri Sep 25 08:51:12 2015 +0100 +++ b/style.sty Fri Sep 25 17:39:02 2015 +0100 @@ -41,3 +41,7 @@ \newcommand{\dq}[1]{\mbox{\tt{"}}#1\mbox{\tt{"}}} \definecolor{codegray}{gray}{0.9} + +\newcommand{\HEADER}{{\bf Please submit your solutions via email. Please submit +only ASCII text or PDFs. Every solution should be preceeded by the corresponding +question. Solutions will only be accepted until 30th December!}\bigskip}