# HG changeset patch # User Christian Urban # Date 1598277835 -3600 # Node ID 077fc2e5412cc88bf1599d3e1be4e5eb4acf4527 # Parent 6916229b817b28f110cb8a1dbc2daf714440cdba updated diff -r 6916229b817b -r 077fc2e5412c progs/while-compiler-arrays/compile_arrays.sc --- 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.") } diff -r 6916229b817b -r 077fc2e5412c progs/while-compiler-arrays/compile_bfc.sc --- 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")