Commit graph

692 commits

Author SHA1 Message Date
Victor Olin
e745593d94 Testing vector indexing 2023-03-23 13:32:24 +01:00
valtermiari
fb4cd8eb9b Merge branch 'g-collection' of https://github.com/bachelor-group-66-systemf/language into g-collection 2023-03-23 13:26:32 +01:00
valtermiari
858c4102be Added direct indexing 2023-03-23 13:26:26 +01:00
Victor Olin
7ea2e2733f Moved Heap::the for safe compilation 2023-03-23 13:09:50 +01:00
Victor Olin
501f319834 Proper singleton implementation 2023-03-23 12:49:47 +01:00
sebastianselander
8d1330ad42 typechecker is compatible with one extra addition to the spec 2023-03-23 11:13:48 +01:00
Victor Olin
cb0c3717fe More documentation 2023-03-23 11:11:43 +01:00
sebastian
3335ab7a57 compatible, EId rule for parsing is not working, testing not done yet 2023-03-22 21:26:14 +01:00
sebastianselander
914855e20f working on adapting the typechecker 2023-03-22 17:52:39 +01:00
Victor Olin
43396b50cd More documentation 2023-03-22 13:58:27 +01:00
sebastianselander
936cb1301f new grammar and adapted renamer 2023-03-22 12:45:51 +01:00
valtermiari
f9932ce527 Merge branch 'g-collection' of https://github.com/bachelor-group-66-systemf/language into g-collection 2023-03-22 12:02:21 +01:00
valtermiari
8414703fe6 Complexity analysis to algorithms used in collect 2023-03-22 12:02:16 +01:00
Samuel Hammersberg
cd85297b85 Removed the ear operator. 2023-03-22 11:48:40 +01:00
Samuel Hammersberg
61c844a255 Revamped getNewVar 2023-03-22 11:46:07 +01:00
Samuel Hammersberg
feeef18cfd Started implementing pattern matching on data types. 2023-03-22 11:41:02 +01:00
Victor Olin
ad29cc5ee5 Quick reference guide and runtime errors. 2023-03-22 11:18:30 +01:00
sebastianselander
88a4a934b8 added more manual tests 2023-03-22 10:32:22 +01:00
Samuel Hammersberg
d36370329e Realized that getelementptr might be doing to right thing, and that the uninitialized data comes from padding. 2023-03-22 10:24:00 +01:00
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