hw3: init
This commit is contained in:
17
hw3/test.hs
Normal file
17
hw3/test.hs
Normal 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"
|
||||
|
||||
Reference in New Issue
Block a user