Files
cs-252/hw3/test.hs
2026-03-15 02:11:19 -07:00

18 lines
246 B
Haskell

import WhileInterp
test f = do
putStrLn $ "***Testing " ++ f
showParsedExp f
runFile f
putStrLn ""
main :: IO ()
main = do
test "abs.imp"
--test "extra.imp"
test "fact.imp"
test "times.imp"
test "test.imp"
test "error.imp"