--- a/testing5/bf.scala Thu Dec 06 18:56:26 2018 +0000
+++ b/testing5/bf.scala Thu Dec 06 21:49:43 2018 +0000
@@ -1,7 +1,7 @@
// Part 1 about an Interpreter for the Brainf*** language
//========================================================
-object CW10a { // only for generating the Jar file
+//object CW10a { // only for generating the Jar file
type Mem = Map[Int, Int]
@@ -11,9 +11,9 @@
import scala.util._
// (1) Write a function that takes a file name as argument and
-// and requests the corresponding file from disk. It returns the
+// and requests the corresponding file from disk. It Returns the
// content of the file as a String. If the file does not exists,
-// the function should return the empty string.
+// the function should Return the empty string.
def load_bff(name: String) : String =
Try(Source.fromFile(name)("ISO-8859-1").mkString).getOrElse("")
@@ -222,4 +222,4 @@
time_needed(1, run(b1))
*/
-}
+//}