author | Christian Urban <christian.urban@kcl.ac.uk> |
Mon, 03 Feb 2025 12:34:38 +0000 | |
changeset 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 / "br.while") Try(test_string(ffile, "br")) match { case Success(v) => Console.println(s" Generated a j-file.") case Failure(e) => Console.println(s" Exception raised.") ; throw(e) }