# HG changeset patch # User Christian Urban # Date 1542720231 0 # Node ID d58013f17af8a9616ef237b17aec9b571da93034 # Parent fb5592db1c8a7cf9754993edd68b6d6544a21040 updated diff -r fb5592db1c8a -r d58013f17af8 coursework/cw04.pdf Binary file coursework/cw04.pdf has changed diff -r fb5592db1c8a -r d58013f17af8 coursework/cw04.tex --- a/coursework/cw04.tex Tue Nov 20 08:00:16 2018 +0000 +++ b/coursework/cw04.tex Tue Nov 20 13:23:51 2018 +0000 @@ -81,7 +81,7 @@ \noindent and \begin{center} -\small\url{http://www.csc.villanova.edu/~tway/courses/csc8505/s2011/handouts/JVM%20and%20Jasmin.pdf} + \small\url{http://www.csc.villanova.edu/~tway/courses/csc4181/s2018/labs/lab4/JVM.pdf} \end{center} \subsection*{Krakatau Assembler} diff -r fb5592db1c8a -r d58013f17af8 langs.sty --- a/langs.sty Tue Nov 20 08:00:16 2018 +0000 +++ b/langs.sty Tue Nov 20 13:23:51 2018 +0000 @@ -41,6 +41,7 @@ }[keywords,comments,strings] + \newcommand{\code}[1]{{\lstinline{#1}}} \newcommand{\pcode}[1]{\mbox{\lstset{language={},keywordstyle=\color{black}}\lstinline!#1!}} \newcommand{\scode}[1]{\mbox{\lstset{language={},basicstyle=\ttfamily\color{codegreen}}\lstinline!#1!}} diff -r fb5592db1c8a -r d58013f17af8 progs/comb2.scala --- a/progs/comb2.scala Tue Nov 20 08:00:16 2018 +0000 +++ b/progs/comb2.scala Tue Nov 20 13:23:51 2018 +0000 @@ -130,7 +130,7 @@ (Stmt ==> ((s) => List(s)))) -Stmt.parse_all("x2:=5+3") +Stmts.parse_all("x2:=5+3;") Block.parse_all("{x:=5;y:=8}") Block.parse_all("if(false)then{x:=5}else{x:=10}")