Inference on most expressions. HM based.

Still have to figure out how to infer type of lambda variables, as well
as how function application on polymorphic should work
This commit is contained in:
sebastianselander 2023-02-13 12:17:49 +01:00
parent a1e9624d5e
commit 73dc2e4b6a
12 changed files with 347 additions and 310 deletions

View file

@ -17,7 +17,7 @@ extra-source-files:
common warnings
ghc-options: -Wall
ghc-options: -W
executable language
import: warnings
@ -30,7 +30,12 @@ executable language
Grammar.Par
Grammar.Print
Grammar.Skel
LambdaLifter
Grammar.ErrM
-- LambdaLifter
TypeChecker.TypeChecker
TypeChecker.TypeCheckerIr
-- Renamer.Renamer
-- Renamer.RenamerIr
-- Interpreter
hs-source-dirs: src
@ -40,7 +45,7 @@ executable language
, mtl
, containers
, either
, array
, extra
, array
default-language: GHC2021