cw3_marking/c4_add.sc
changeset 978 8778d23fef92
equal deleted inserted replaced
977:1e6eca42d90b 978:8778d23fef92
       
     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 }