# HG changeset patch # User Christian Urban # Date 1448297107 0 # Node ID 4629448c1bd92e6181572cdf61c5d271b0e752fe # Parent a6a6bf32fade6ec2614781bd40ba6958571ee295 updated diff -r a6a6bf32fade -r 4629448c1bd9 coursework/cw02.pdf Binary file coursework/cw02.pdf has changed diff -r a6a6bf32fade -r 4629448c1bd9 coursework/cw02.tex --- a/coursework/cw02.tex Fri Nov 20 02:23:24 2015 +0000 +++ b/coursework/cw02.tex Mon Nov 23 16:45:07 2015 +0000 @@ -125,7 +125,7 @@ tokens from a value).\medskip \noindent -Fiannly give the tokens for your regular expressions from Q1 and the +Finally give the tokens for your regular expressions from Q1 and the string \begin{center} diff -r a6a6bf32fade -r 4629448c1bd9 slides/slides09.pdf Binary file slides/slides09.pdf has changed diff -r a6a6bf32fade -r 4629448c1bd9 slides/slides09.tex --- a/slides/slides09.tex Fri Nov 20 02:23:24 2015 +0000 +++ b/slides/slides09.tex Mon Nov 23 16:45:07 2015 +0000 @@ -126,7 +126,7 @@ For example -\begin{lstlisting}[mathescape,numbers=none,language={}] +\begin{lstlisting}[mathescape,numbers=none,language=While] if 1 = 1 then x := 2 else y := 3 \end{lstlisting} @@ -160,7 +160,7 @@ For example -\begin{lstlisting}[mathescape,numbers=none,language={}] +\begin{lstlisting}[mathescape,numbers=none,language=While] while x <= 10 do x := x + 1 \end{lstlisting} @@ -566,7 +566,7 @@ \begin{lstlisting}[language=JVMIS,basicstyle=\ttfamily, numbers=none, escapeinside={(*@}{@*)}] .method public static facT(II)I .limit locals 2 -.limit stack 7 +.limit stack 6 (*@\hl{facT\_Start:} @*) iload 0 ldc 0