slides/slides06.tex
changeset 972 ebb4a40d9bae
parent 954 eda0ccf56c72
equal deleted inserted replaced
971:51e00f223792 972:ebb4a40d9bae
    20 \newtcolorbox{mybox3}[1]{colback=Cyan!5!white,colframe=Cyan!75!black,fonttitle=\bfseries,title=#1}
    20 \newtcolorbox{mybox3}[1]{colback=Cyan!5!white,colframe=Cyan!75!black,fonttitle=\bfseries,title=#1}
    21 
    21 
    22 
    22 
    23 
    23 
    24 \begin{document}
    24 \begin{document}
    25 
    25  
    26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    27 \begin{frame}[t]
    27 \begin{frame}[t]
    28 \frametitle{%
    28 \frametitle{%
    29   \begin{tabular}{@ {}c@ {}}
    29   \begin{tabular}{@ {}c@ {}}
    30   \\[-3mm]
    30   \\[-3mm]
    34 
    34 
    35   \normalsize
    35   \normalsize
    36   \begin{center}
    36   \begin{center}
    37   \begin{tabular}{ll}
    37   \begin{tabular}{ll}
    38     Email:  & christian.urban at kcl.ac.uk\\
    38     Email:  & christian.urban at kcl.ac.uk\\
    39      Office Hour: & Thurdays 15 -- 16\\  
    39      Office Hour: & Fridays 12 -- 14\\  
    40   Location: & N7.07 (North Wing, Bush House)\\
    40   Location: & N7.07 (North Wing, Bush House)\\
    41   Slides \& Progs: & KEATS\\
    41   Slides \& Progs: & KEATS\\
    42   Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  
    42   Pollev: & \texttt{\alert{https://pollev.com/cfltutoratki576}}\\  
    43   \end{tabular}
    43   \end{tabular}
    44   \end{center}
    44   \end{center}
    59   \end{center}
    59   \end{center}
    60   
    60   
    61 \end{frame}
    61 \end{frame}
    62 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
    62 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
    63 
    63 
       
    64 \begin{frame}[t,fragile]
       
    65 \begin{mybox3}{}
       
    66   In CW2, be careful with the order of defining regular expressions:
       
    67 
       
    68 \begin{verbatim}
       
    69 val COMMENT : Rexp = ... ~ EOL
       
    70 val EOL : Rexp = "\r\n" |  "\n"
       
    71 \end{verbatim}
       
    72 \end{mybox3}
       
    73 \end{frame}
       
    74 
       
    75 
       
    76 \begin{frame}[t,fragile]
       
    77 \begin{mybox3}{}
       
    78   In CW2, what is the derivative of RECD?
       
    79 
       
    80 \begin{center}
       
    81 \bl{$der\;c\;RECD(l, r) \;\;\dn\;\; ???$}
       
    82 \end{center}  
       
    83 \end{mybox3}
       
    84 \end{frame}
       
    85 
       
    86 
       
    87 
    64 
    88 
    65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    89 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    66 \begin{frame}[c]
    90 \begin{frame}[c]
    67 \frametitle{Parser Combinators}
    91 \frametitle{Parser Combinators}
    68 
    92 
   434 
   458 
   435 \end{frame}}
   459 \end{frame}}
   436 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
   460 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
   437 
   461 
   438 
   462 
   439 \begin{frame}[t,fragile]
   463 %\begin{frame}[t,fragile]
   440 \begin{mybox3}{}
   464 %\begin{mybox3}{}
   441    In CW3, in the collatz program there is the line write "$\backslash$n" Should this print "/n" or perform the new line command /n ? Also should write be print() or println() ?
   465 %   In CW3, in the collatz program there is the line write "$\backslash$n" Should this print "/n" or perform the new line command /n ? Also should write be print() or println() ?
   442 \end{mybox3}
   466 %\end{mybox3}
   443 \end{frame}
   467 %\end{frame}
   444 
   468 %
   445 
   469 %
   446 \begin{frame}<1-30>[c]
   470 \begin{frame}<1-30>[c]
   447 \end{frame}
   471 \end{frame}
   448 
   472 
   449 
   473 
   450 \end{document}
   474 \end{document}