# HG changeset patch # User Christian Urban # Date 1696150004 -3600 # Node ID 14a6adca16b8ba0200d367eb21fda0c9a3c5c787 # Parent 0fe0937e049df165a93c90cc0a07df32edd78924 updated diff -r 0fe0937e049d -r 14a6adca16b8 hws/hw02.pdf Binary file hws/hw02.pdf has changed diff -r 0fe0937e049d -r 14a6adca16b8 hws/hw02.tex --- a/hws/hw02.tex Wed Sep 27 22:42:19 2023 +0100 +++ b/hws/hw02.tex Sun Oct 01 09:46:44 2023 +0100 @@ -204,7 +204,7 @@ recognising all strings that do not contain any substring $bb$ and end in $a$. - \solution{$((ba)^* \cdot (a)^*)^*\,\cdot\,a$} + \solution{$((ba)^* \cdot (a)^*)^*\,\cdot\,a + ba$ \quad Not sure whether this can be simplified.} \item Do $(a + b)^* \cdot b^+$ and $(a^* \cdot b^+) + (b^*\cdot b^+)$ define the same language? diff -r 0fe0937e049d -r 14a6adca16b8 progs/matcher/build.sc --- a/progs/matcher/build.sc Wed Sep 27 22:42:19 2023 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -import mill._ -import scalalib._ - -val baseDir = build.millSourcePath - - -object matcher extends ScalaModule { - def scalaVersion = "2.13.2" - def mainClass = Some("re1 all") - - //override def resources = T.sources(baseDir) - override def sources = T.sources(baseDir / "re1.sc") - - -} diff -r 0fe0937e049d -r 14a6adca16b8 slides/slides01.pdf Binary file slides/slides01.pdf has changed diff -r 0fe0937e049d -r 14a6adca16b8 slides/slides01.tex --- a/slides/slides01.tex Wed Sep 27 22:42:19 2023 +0100 +++ b/slides/slides01.tex Sun Oct 01 09:46:44 2023 +0100 @@ -627,7 +627,8 @@ \footnotesize\textcolor{gray}{Grace Hopper}\smallskip\\ {\small\textcolor{gray}{(she made it to David Letterman's Tonight Show - \here{https://youtu.be/3N_ywhx6_K0?t=31})}} + \here{https://youtu.be/3N_ywhx6_K0?t=31} / + \here{https://www.youtube.com/watch?v=oE2uls6iIEU})}} \end{flushright} \end{textblock} @@ -771,16 +772,42 @@ { \setbeamercolor{background canvas}{bg=cream} \begin{frame}[c] -\frametitle{For problems} +\frametitle{For Install Problems} \begin{itemize} -\item Harry Dilnot -\item Meilai +\item Harry Dilnot (harry.dilnot@kcl.ac.uk) \\ + \;\;Windows expert +\item Meilai Ji (meilai.ji@kcl.ac.uk) \end{itemize} \end{frame} } +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +{ +\setbeamercolor{background canvas}{bg=cream} +\begin{frame}[c] + +\begin{minipage}{1.3\textwidth} +\begin{mybox3}{}\it\small +Unequivocally the worst module I've taken on this course. The subject +matter is fascinating, however the insistence on the use of this +abomination of a language "Scala" completely ruins it. If you're going +to teach something as complex as this, use a proper language, not some +"object oriented functional" abomination. Use C, you know, the +language that real compilers are written in. I will go to the end of +the earth to dissuade others from taking this module so long as Scala +is still being used.\\ +\mbox{}\hfill-- Lone voice in the end-of-year feedback in 2019 +\end{mybox3} +\end{minipage}\bigskip + +\small (for alternative opinions check ``What the students say'' on KEATS) + +\end{frame} +} + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -883,13 +910,20 @@ \setbeamercolor{background canvas}{bg=cream} \begin{frame}[t] \frametitle{Notation for REs} - - - \end{frame} } +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +{ +\setbeamercolor{background canvas}{bg=cream} +\begin{frame}[t] + +\end{frame} +} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[c] \frametitle{Some ``innocent'' examples}