]> ruin.nu Git - proglang.git/blobdiff - Typechecker.hs
smll stuff
[proglang.git] / Typechecker.hs
index 87054767c896ee26b405b0af976f0b4bd09f5050..d9b1e1047b67d8b355dca3290ac93173b4e0417d 100644 (file)
@@ -40,6 +40,7 @@ run v p s = let ts = myLLexer s in case p ts of
                putStrLn "\nParse Successful!"
                showTree v (Program s)
                runStateT (mapM typeCheckStm s) [empty]
+               print "The program is type-correct!!"
                return ()
 
 showTree :: (Show a, Print a) => Int -> a -> IO ()