Add implicit foralls for bidir, update and unify pipeline
This commit is contained in:
parent
12bca1c32d
commit
9870802371
33 changed files with 1010 additions and 1055 deletions
27
pipeline.txt
Normal file
27
pipeline.txt
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
Parser
|
||||
|
|
||||
ReportForall Report unnecessary foralls. Hm: report rank>2 foralls
|
||||
|
|
||||
AnnotateForall Annotate all unbound type variables with foralls
|
||||
|
|
||||
Renamer Rename type variables and term variables
|
||||
|
|
||||
/ \
|
||||
/ \
|
||||
TypeCheckHm TypeCheckBi
|
||||
\ /
|
||||
\ /
|
||||
|
|
||||
ReportTEVar Report type existential variables and change type AST
|
||||
|
|
||||
RemoveForall RemoveForall and change type AST
|
||||
|
|
||||
Monomorpher
|
||||
|
|
||||
Desugar
|
||||
|
|
||||
CodeGen
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue