1
2
3
4 def test_string(prog: String) = {
5 val tks = tokenise(prog)
6 val ast = Stmts.parse_all(tks).head
7 eval(ast)
8 }