updated
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 02 Dec 2013 23:21:22 +0000
changeset 222 b712519b41d3
parent 221 824ffbf66ab4
child 223 e4b29b57f6a3
updated
coursework/cw03.pdf
coursework/cw03.tex
langs.sty
Binary file coursework/cw03.pdf has changed
--- a/coursework/cw03.tex	Mon Dec 02 19:26:45 2013 +0000
+++ b/coursework/cw03.tex	Mon Dec 02 23:21:22 2013 +0000
@@ -50,7 +50,9 @@
 \end{center}
 
 \noindent
-where you might need to give the correct path to the class file.\bigskip
+where you might need to give the correct path to the class file. There
+are also other resources about Jasmin on the Internet, for example
+\mbox{\url{http://goo.gl/Qj8TeK}} and \mbox{\url{http://goo.gl/fpVNyT}}\;.\bigskip
 
 \noindent
 You need to submit a document containing the answers for the two questions 
@@ -178,6 +180,7 @@
 \end{minipage}
 \end{center}
 
+
 \subsection*{Library Functions}
 
 You need to generate code for the commands \texttt{write} and \texttt{read}. This
--- a/langs.sty	Mon Dec 02 19:26:45 2013 +0000
+++ b/langs.sty	Mon Dec 02 23:21:22 2013 +0000
@@ -57,7 +57,7 @@
 	showstringspaces=false}
 
 \lstdefinelanguage{while}{
-  morekeywords={if,then,else,while,do,true,false,write,upto},
+  morekeywords={if,then,else,while,do,true,false,write,upto,for,skip},
   otherkeywords={=,!=,:=,<,>,;},
   sensitive=true,
   morecomment=[n]{/*}{*/},