Commit graph

53 commits

Author SHA1 Message Date
Martin Fredin
72e599d5de Add closures and fix lets in monomorphizer 2023-05-06 22:49:08 +02:00
Rakarake
7562949909 Finally, bug nr4 fixed 2023-05-05 12:24:13 +02:00
Rakarake
010ca29ced Fixed wrong name bug -- samuel 2023-05-05 11:44:08 +02:00
Rakarake
fe25f18eb7 Fixed naming-cons bug in monomorphizer 2023-05-05 11:28:40 +02:00
Rakarake
4038f34cc5 Fixed woring order of monomorphization in ECase 2023-05-03 15:08:07 +02:00
Rakarake
e70eae776a Maybe made lets work in monomorphizer 🙃 2023-05-02 17:25:22 +02:00
Rakarake
59da6d8864 Fixed printing bug in MorbIr, fixed Monomorphizer forgetting to output constructors on EInj 2023-05-01 16:14:01 +02:00
Rakarake
3377879dd0 Small fix in morphBind 2023-05-01 11:57:06 +02:00
Rakarake
0af2aac61e Removed some warnings, better internal error 2023-05-01 11:53:18 +02:00
Rakarake
3729278041 Unreachable branhces are removed, fixed a nasty bug in monomorphizer 😸 2023-04-27 16:44:30 +02:00
Rakarake
509b51d2de No output of wrongly typed cons 2023-04-27 15:09:39 +02:00
Rakarake
579153b679 Merged 2023-04-27 14:02:10 +02:00
Rakarake
60e12b622e Using type annotations in case expressions, monomorphizer now handles case expressions without crashing 2023-04-27 13:55:54 +02:00
sebastianselander
1a21698772 mono fixier 2023-04-27 12:57:36 +02:00
sebastianselander
55fd35d661 mono fix 2023-04-27 12:49:29 +02:00
Martin Fredin
8782556603 Fix types in pattersgit add .git add . 2023-04-27 12:22:30 +02:00
Rakarake
4bd5801c97 Removed traces 2023-04-18 15:52:33 +02:00
Rakarake
2611ddc2b2 Fixed wrong handeling of EAdd in monomorphizer, as well as more documentation and cleanup 2023-04-18 15:48:25 +02:00
Rakarake
a23269f907 Fixed small bug in monomorphizer 2023-04-17 15:53:16 +02:00
Rakarake
c2bf6312f6 Monomorphizer now outputs constructors that are matched on but not created 2023-04-12 16:36:22 +02:00
Martin Fredin
9870802371 Add implicit foralls for bidir, update and unify pipeline 2023-04-05 17:26:52 +02:00
Rakarake
c6e0e40ef1 Monomorphizer now monomorphizes data 2023-04-05 03:03:42 +02:00
Rakarake
c6173c0077 Plus now working in monomorphizer 2023-03-31 19:25:48 +02:00
Rakarake
00e23a16dd Monomorphization of datatypes done! 2023-03-31 18:58:33 +02:00
Rakarake
15c18271ba Monomorphizer, fixed problem with type of bind 2023-03-31 17:53:56 +02:00
Rakarake
d097cd28e8 New morb tree for internal use in monomorphizer, data types implemented 2023-03-31 17:02:54 +02:00
Rakarake
29fcddf44c Data defs in monomorphizer output environment 2023-03-29 17:05:56 +02:00
Rakarake
d4115fd2f5 Monomoprhizer handles new types 2023-03-29 16:45:30 +02:00
Rakarake
2860d47f11 Case expressions implemented in monomorphizer 2023-03-29 13:48:00 +02:00
Rakarake
91d6332dc5 Fixed removed args in tree after monomorphizer 2023-03-28 17:14:55 +02:00
Rakarake
a7401f0ee3 Monomorphizer main fix 2023-03-28 15:55:06 +02:00
Rakarake
b35c19572f Newer changes 2023-03-28 15:26:35 +02:00
Samuel Hammersberg
66e419efa6 Fixed the unnamed temporary bugs. 2023-03-28 11:53:25 +02:00
Rakarake
4a6c72fce0 Removed codegen to compile, type seem to work for newly added example 2023-03-27 20:11:49 +02:00
Rakarake
0d23a59f0c Merged into commit not compiling on codegen 😤 2023-03-27 19:14:35 +02:00
Samuel Hammersberg
847ec37117 Fixed the dependency on the Grammar Ident. 2023-03-27 16:32:48 +02:00
Martin Fredin
ac3f222753 Add bidirectional type checker, lambda lifter. 2023-03-27 16:07:11 +02:00
sebastian
accbd4eea6 dummy monomorphizer complete 2023-03-24 22:03:43 +01:00
Samuel Hammersberg
7e246a94e5 Fixed a segfault. 2023-03-24 19:57:49 +01:00
sebastianselander
2566c53f58 mono adapt 2023-03-24 19:01:33 +01:00
sebastianselander
56ccd793ac more error messages and better unification 2023-03-24 18:21:07 +01:00
Samuel Hammersberg
b1209b3353 Updated the monomorphizer to the new tree. 2023-03-24 17:13:56 +01:00
Samuel Hammersberg
f404acdbad Updated some more changes. 2023-03-24 17:00:31 +01:00
Samuel Hammersberg
50bea83a18 Got some more stuff working. 2023-03-24 16:01:34 +01:00
sebastianselander
ce3971cf75 renamed stuff 2023-03-24 12:24:08 +01:00
Samuel Hammersberg
30a79f34af Added some missing functionality to the dummy monomorphizer. 2023-03-24 10:57:21 +01:00
Samuel Hammersberg
0012efabb7 Fixed some more stuff. 2023-03-23 22:01:40 +01:00
Samuel Hammersberg
75fa232e21 No more warnings, but everything to do with datatypes is outcommented. 2023-03-23 21:35:52 +01:00
Samuel Hammersberg
6cbc83c5d9 Fixed a miss. 2023-03-23 20:22:36 +01:00
Samuel Hammersberg
c85010a8a1 Fixed ExpT 2023-03-23 20:20:17 +01:00