hw3: init

This commit is contained in:
2026-03-13 15:01:31 -07:00
parent 7541f30384
commit 1bc674f6b6
9 changed files with 273 additions and 0 deletions

17
hw3/test.hs Normal file
View File

@@ -0,0 +1,17 @@
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"