Binary file coursework/cw04.pdf has changed
--- 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}
--- 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!}}
--- 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}")