Commit graph

623 commits

Author SHA1 Message Date
sebastianselander
24007313cb added shadowing for ECase in Renamer 2023-03-22 10:10:11 +01:00
sebastian
33b69a1895 Improved formatting 2023-03-21 22:07:21 +01:00
sebastian
57fe8cd0a6 Fixed larger bug
where pattern matching on `Just a` with type `Maybe b` could be used for
 any type.
2023-03-21 22:02:28 +01:00
Victor Olin
87dc0fef2d Comments 2023-03-21 17:35:33 +01:00
Rakarake
8f151b7531 Monomorphization of function applications should work 2023-03-21 17:15:15 +01:00
sebastianselander
509de4415e progress on fixing bugs 2023-03-21 17:09:03 +01:00
Victor Olin
7105c570d9 Code cleanup 2023-03-21 17:06:10 +01:00
Rakarake
71d07ebf0f Fixed some internal errors 2023-03-21 15:59:47 +01:00
sebastian
3026a96eb7 added todo for class 2023-03-21 14:51:06 +01:00
sebastian
4c015a4aac initial pattern matching implementation. should be somewhat correct 2023-03-21 14:33:18 +01:00
Victor Olin
8081bc5d67 Minor changes
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-03-21 14:31:40 +01:00
valtermiari
edeff09e86 Started skeleton for accurate GC 2023-03-21 13:11:58 +01:00
Victor Olin
75fb24e369 Fixed GC static library 2023-03-21 13:09:14 +01:00
Samuel Hammersberg
ae34c494f5 Improved the visibility checkup a little bit. 2023-03-21 10:14:00 +01:00
Samuel Hammersberg
91816abfe6 Constructors are now seen as global functions. 2023-03-21 10:11:02 +01:00
Samuel Hammersberg
bbf7a47e74 Started updating the Code Generator to the new monomorphizer tree. 2023-03-21 09:39:05 +01:00
sebastianselander
9cd2cdb511 continued work on pattern matching v2 2023-03-20 17:40:09 +01:00
Victor Olin
bba6afeff8 Bugfix caused new bug, bugfix 2 2023-03-20 17:24:27 +01:00
Victor Olin
4bf1fd7610 Fixed lost chunks in free_overlap 2023-03-20 13:59:19 +01:00
Victor Olin
ffdffc475d Fixed ABS_PATH for profiler 2023-03-20 13:24:14 +01:00
Victor Olin
fcae79ce0b Profiler probably finished 2023-03-20 10:48:18 +01:00
Victor Olin
91f241dba2 Some spring cleaning 2023-03-19 15:16:41 +01:00
valtermiari
78ccade17d Fixed bug in sweep and updated tests 2023-03-17 11:45:32 +01:00
valtermiari
ce714db3f1 Some improvments to Game test 2023-03-16 17:06:44 +01:00
valtermiari
6840297c08 Fixed some bugs and modifications to mark 2023-03-15 18:03:08 +01:00
Rakarake
ec95e0d9ef Monomorphizer cleanup 2023-03-12 17:53:46 +01:00
Rakarake
e2db863c3e Fixed name clashes 2023-03-10 17:24:03 +01:00
Rakarake
96c4a2bddf Added test of multiple instanciations of same polymorphic function 2023-03-10 17:20:23 +01:00
sebastianselander
c3ea343d00 unified top level type with expression type 2023-03-10 16:54:29 +01:00
Victor Olin
02c9ae0ab4 Game test!
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-03-10 11:08:15 +01:00
valtermiari
24daa73a39 Merge branch 'g-collection' of https://github.com/bachelor-group-66-systemf/language into g-collection 2023-03-10 09:32:27 +01:00
valtermiari
420b504016 Started on a larger test 2023-03-10 09:32:22 +01:00
Victor Olin
51765f4d0c Work on the profiler 2023-03-10 09:24:32 +01:00
Rakarake
224a165715 Unique names of new binds with different types 2023-03-09 18:52:35 +01:00
Rakarake
f10919ac20 Better tests 2023-03-09 18:32:00 +01:00
Rakarake
0e20670343 Added check for recursive calls 2023-03-08 17:52:41 +01:00
Rakarake
d377ded7e1 Deleted bad sample programs, added polymorphic call in polymorphic function test 2023-03-08 17:38:50 +01:00
Victor Olin
cdc802476d Code cleanup 2023-03-08 16:47:34 +01:00
sebastian
62724964d7 fixed Maybe ('a -> 'a) bug. Pattern matching still wonky, will have to redo 2023-03-08 15:22:42 +01:00
Victor Olin
7bb64c0489 Profiler work 2023-03-08 15:04:12 +01:00
Samuel Hammersberg
350cd3b0e9 Started importing Sebastian's new typechecker. 2023-03-08 11:01:07 +01:00
Samuel Hammersberg
d5dd7896d8 Moved modules into a proper folder structure. 2023-03-08 10:35:07 +01:00
Samuel Hammersberg
ac0ac2dac7 Removed a few imports. 2023-03-08 10:27:39 +01:00
Samuel Hammersberg
2af00da482 Renamed the compile function to generate code 2023-03-08 10:25:53 +01:00
Samuel Hammersberg
832efbcdd8 Gave the code generator a proper module name. 2023-03-08 10:24:52 +01:00
Samuel Hammersberg
bff75bb00b Switched an Int to Integer. 2023-03-08 10:22:21 +01:00
Rakarake
63f9689f38 Simple polymorphic and monomorphic functions properly morphed in test demo. 2023-03-07 18:49:21 +01:00
Rakarake
887c3b8391 Working on bugs 2023-03-07 16:42:56 +01:00
sebastianselander
fce54e7899 documented possible bad functions 2023-03-06 16:41:59 +01:00
sebastianselander
eef6fa7668 added new test and found another bug 2023-03-06 16:25:03 +01:00