Commit graph

613 commits

Author SHA1 Message Date
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
sebastianselander
6947614fba Updated bug list & started working on more tests 2023-03-06 13:04:07 +01:00
Victor Olin
0d376171c8 Continued work on profiler 2023-03-06 11:59:28 +01:00
sebastianselander
f5b5f11903 fixed formatting 2023-03-06 11:38:25 +01:00
sebastianselander
9c2f52f8bb fixed bug where bound variable didn't exist in case 2023-03-06 11:27:17 +01:00
Rakarake
8ca876a101 Most code written, no tests yet 2023-03-06 10:47:52 +01:00
sebastianselander
778fec3dc4 Implemented potential fix for one of the bugs 2023-03-05 14:34:39 +01:00
sebastianselander
fe63fa6215 Improved error message and created document for known bugs. 2023-03-05 13:24:56 +01:00
sebastianselander
fecb71bc07 Found a bug. 2023-03-03 18:17:51 +01:00
sebastianselander
03d7080396 pattern matching works? have to test more 2023-03-03 11:46:54 +01:00
sebastian
7656b46e3f a bit more work on pattern match + case expr 2023-03-02 22:07:38 +01:00