--- a/solutions5/bf.scala Wed Oct 30 14:21:16 2019 +0000
+++ b/solutions5/bf.scala Wed Oct 30 14:25:07 2019 +0000
@@ -1,8 +1,7 @@
// Part 1 about an Interpreter for the Brainf*** language
//========================================================
-object CW10a { // only for generating the Jar file
-
+object CW10a {
type Mem = Map[Int, Int]
--- a/solutions5/bfc.scala Wed Oct 30 14:21:16 2019 +0000
+++ b/solutions5/bfc.scala Wed Oct 30 14:25:07 2019 +0000
@@ -1,7 +1,7 @@
// Part 2 about a "Compiler" for the Brainf*** language
//======================================================
-//object CW10b { // only for producing the jar-file
+object CW10b {
// !!! Copy any function you need from file bf.scala !!!
//
@@ -303,7 +303,7 @@
//time_needed(1, run(load_bff("sierpinski.bf")))
//time_needed(1, run4(load_bff("sierpinski.bf")))
-println(time_needed(1, run4(load_bff("mandelbrot.bf"))))
+//println(time_needed(1, run4(load_bff("mandelbrot.bf"))))
-//}
+}
Binary file templates5/bf.jar has changed
Binary file templates5/bfc.jar has changed