Progression on type checker ;)

This commit is contained in:
sebastianselander 2023-02-13 19:03:06 +01:00
parent 73dc2e4b6a
commit c10d7703ad
5 changed files with 126 additions and 82 deletions

View file

@ -1,16 +1,8 @@
{-# LANGUAGE LambdaCase #-}
module TypeChecker.TypeCheckerIr
( Program(..)
, Bind(..)
, Ident
, Type(..)
, Const(..)
, Exp(..)
)
where
module TypeChecker.TypeCheckerIr (module Grammar.Abs, Exp) where
import Grammar.Abs (Program(..), Bind(..), Ident, Type(..), Const(..))
import Grammar.Abs (Program(..), Ident(..), Bind(..), Const(..), Type(..), UIdent(..), LIdent(..))
data Exp
= EAnn Exp Type