# HG changeset patch # User Christian Urban # Date 1542720231 0 # Node ID 3f4fc76dab2fafeeadd68984ba7cb600d71764c2 # Parent a50feaa0c4b3b9ba92735a6f867fc883533faa9a updated diff -r a50feaa0c4b3 -r 3f4fc76dab2f coursework/cw04.pdf Binary file coursework/cw04.pdf has changed diff -r a50feaa0c4b3 -r 3f4fc76dab2f 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 a50feaa0c4b3 -r 3f4fc76dab2f 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 a50feaa0c4b3 -r 3f4fc76dab2f 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}")