solution/cw3/parser2.sc
changeset 869 81ee93b87258
parent 864 b5b1bc0a603b
--- a/solution/cw3/parser2.sc	Thu Jan 20 08:58:38 2022 +0000
+++ b/solution/cw3/parser2.sc	Mon Jan 24 00:00:33 2022 +0000
@@ -240,6 +240,10 @@
 println("Factors eval")
 println(eval(Stmts.parse_all(tokenise(os.read(os.pwd / "factors.while"))).head))
 
+println("Primes eval")
+println(eval(Stmts.parse_all(tokenise(os.read(os.pwd / "primes.while"))).head))
+
+
 println("Collatz2 eval")
 println(eval(Stmts.parse_all(tokenise(os.read(os.pwd / "collatz2.while"))).head))