updated
authorChristian Urban <urbanc@in.tum.de>
Wed, 30 Oct 2019 14:25:07 +0000
changeset 290 2186e204a26c
parent 289 08b5ddbc7e55
child 291 5372c5a538d7
updated
solutions5/bf.scala
solutions5/bfc.scala
templates5/bf.jar
templates5/bfc.jar
--- 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