@@ -3,6 +3,7 @@ module IRTS.LParser where
33import Core.CoreParser
44import Core.TT
55import IRTS.Lang
6+import IRTS.Bytecode
67
78import Text.ParserCombinators.Parsec
89import Text.ParserCombinators.Parsec.Error
@@ -46,6 +47,9 @@ fovm f = do defs <- parseFOVM f
4647 let ctxtIn = addAlist tagged emptyContext
4748 let checked = checkDefs ctxtIn tagged
4849 print checked
50+ case checked of
51+ OK c -> do let bc = mapMaybe toBC c
52+ print bc
4953
5054parseFOVM :: FilePath -> IO [(Name, LDecl)]
5155parseFOVM fname = do putStrLn $ "Reading " ++ fname