diff -r 2be8c4c77418 -r b153c04834eb slides/slides02.tex --- a/slides/slides02.tex Sun Sep 30 23:38:38 2018 +0100 +++ b/slides/slides02.tex Mon Oct 01 01:11:42 2018 +0100 @@ -270,6 +270,19 @@ \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[c] +\frametitle{\begin{tabular}{c}\\[3cm]\huge\alert{Questions?}\end{tabular}} + +\bigskip +homework (written exam 80\%)\\ +coursework (20\%; first one today)\\ +submission Fridays @ 18:00 -- accepted Mondays +\mbox{} +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[t] \frametitle{Semantic Derivative\\[5mm]} @@ -880,6 +893,45 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[c] +\frametitle{Negation of Regular Expr's} + +\begin{itemize} +\item \bl{$\sim{}r$} \hspace{6mm} (everything that \bl{$r$} cannot recognise)\medskip +\item \bl{$L(\sim{}r) \dn UNIV - L(r)$}\medskip +\item \bl{$nullable (\sim{}r) \dn not\, (nullable(r))$}\medskip +\item \bl{$der\,c\,(\sim{}r) \dn \;\sim{}(der\,c\,r)$} +\end{itemize}\bigskip\pause + +Used often for recognising comments: + +\[ +\bl{/ \cdot * \cdot (\sim{}([a\mbox{-}z]^* \cdot * \cdot / \cdot [a\mbox{-}z]^*)) \cdot * \cdot /} +\] + +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\begin{frame}[c] +\frametitle{Coursework} + +\underline{Strand 1:} + +\begin{itemize} +\item Submission on Friday 12 October\\accepted until Monday 15 @ 18:00\medskip +\item source code needs to be submitted as well\medskip +\item you can re-use my Scala code from KEATS \\ + or use any programming language you like\medskip +\item \small https://nms.kcl.ac.uk/christian.urban/ProgInScala2ed.pdf\normalsize +\end{itemize} + +\end{frame} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame}[t] \frametitle{Proofs about Rexps}