--- a/progs/while-compiler-arrays/compile_arrays.sc Mon Aug 24 00:24:58 2020 +0100
+++ b/progs/while-compiler-arrays/compile_arrays.sc Mon Aug 24 15:03:55 2020 +0100
@@ -227,7 +227,8 @@
println(s"generated $class_name.j file")
os.proc("java", "-jar", "jasmin.jar", s"$class_name.j").call()
println(s"generated $class_name.class file ")
- println(os.proc("java", s"${class_name}/${class_name}").call().out.text())
+ //println(os.proc("java", s"${class_name}/${class_name}").call().out.text())
+ os.proc("java", s"${class_name}/${class_name}").call(stdout = os.Inherit)
println(s"done.")
}
--- a/progs/while-compiler-arrays/compile_bfc.sc Mon Aug 24 00:24:58 2020 +0100
+++ b/progs/while-compiler-arrays/compile_bfc.sc Mon Aug 24 15:03:55 2020 +0100
@@ -13,7 +13,7 @@
// * the jasmin assembly file is 236k
// * the resulting Java program takes about 20 secs
//
-// Call with (X being 0,1,..,5)
+// Call with (X being 0,1,..,4)
//
// amm compile_bfc.sc all
// amm compile_bfc.sc bfcX
@@ -295,7 +295,7 @@
def bfc4() = bf_run(read(pwd / "mandelbrot.bf"), "mand")
-// this hits the capacity of the JVM, even with optimisations
+// this unfortunately hits the capacity of the JVM, even with optimisations
//@doc(" Coolatz serries up to 30.")
//@main
//def bfc5() = bf_run(read(pwd / "collatz.bf"), "coll")