module CC.Backend.Dumb(builtins) where import CC.AST.Typed import CC.Context builtins :: Builtins builtins = Builtins [ ("print", TFun TInt (TTup [])) , ("fst", TFun (TTup [TyVar 1, TyVar 2]) (TyVar 1)) , ("snd", TFun (TTup [TyVar 1, TyVar 2]) (TyVar 2)) , ("_add", TFun TInt (TFun TInt TInt)) , ("_sub", TFun TInt (TFun TInt TInt)) , ("_mul", TFun TInt (TFun TInt TInt)) ]