author | Christian Urban <christian.urban@kcl.ac.uk> |
Sun, 19 Oct 2025 09:51:35 +0200 | |
changeset 1012 | c01dfa3ff177 |
parent 978 | 8778d23fef92 |
permissions | -rw-r--r-- |
// for testing compilation import scala.util.{Try, Success, Failure} import $file.cw041_add import cw041_add._ val ffile = os.read(os.pwd / "for.while") Try(test_string(ffile, "for")) match { case Success(v) => Console.println(s" Generated a j-file.") case Failure(e) => Console.println(s" Exception raised.") ; throw(e) }