Commit graph

116 commits

Author SHA1 Message Date
Victor Olin
5458d6199d Unneccessary old files 2023-02-24 13:49:34 +01:00
Victor Olin
040747fd4d No settings plzo 2023-02-24 13:46:42 +01:00
Sebastian Selander
0929245df9
Merge pull request #9 from bachelor-group-66-systemf/g-collection
Heap library first version finished
2023-02-24 13:44:09 +01:00
Victor Olin
db4659abf3 Rebased the branch 2023-02-24 13:39:55 +01:00
Victor Olin
7ff174459a Delete random files 2023-02-24 13:39:55 +01:00
Victor Olin
019c54bdad Switched stack start and ends to tops and bottoms. 2023-02-24 13:39:55 +01:00
Victor Olin
a684fe1ea0 Made exposed endpoints static 2023-02-24 13:39:55 +01:00
valtermiari
bbd2650445 Testing recursive marking with chain references. 2023-02-24 13:39:55 +01:00
Victor Olin
c6463efd51 Documented the library 2023-02-24 13:39:55 +01:00
Victor Olin
ea6eab0bcf Fixed bugs on freeing chunks and stack-scanning
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:55 +01:00
valtermiari
07bf2c8f48 Fixed bug in free and some small testing additions 2023-02-24 13:39:55 +01:00
valtermiari
79886e70de Some tweaks in mark. Testing of chain references 2023-02-24 13:39:55 +01:00
Victor Olin
6679fb6bb7 Fixed heap DLL linking 2023-02-24 13:39:55 +01:00
valtermiari
3860d0ec4f Tweaked sweeping, test with detached pointers 2023-02-24 13:39:55 +01:00
Victor Olin
6cd6edb594 Fixed mark skipping
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:55 +01:00
Victor Olin
3473c953b5 Wrote a test for shared library linking 2023-02-24 13:39:55 +01:00
Victor Olin
518940ab15 clean up 2023-02-24 13:39:55 +01:00
Victor Olin
99c69dbd57 Implemented free chunk swaps and filtering 2023-02-24 13:39:55 +01:00
Victor Olin
b79a83c32a Debugged mark()
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:55 +01:00
valtermiari
fb5f283dfd Some progress on marking 2023-02-24 13:39:55 +01:00
valtermiari
5fcab54fe4 Fixed sweep 2023-02-24 13:39:55 +01:00
valtermiari
a375388591 More debugging 2023-02-24 13:39:55 +01:00
Victor Olin
42c22bc1eb Continued debugging
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:55 +01:00
Victor Olin
5ac9b665a1 Testing different stack pointers 2023-02-24 13:39:55 +01:00
Victor Olin
b168438c14 Started testing the GC
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:55 +01:00
valtermiari
30a3da3156 Some configurations 2023-02-24 13:39:55 +01:00
valtermiari
1690804821 Some small test features 2023-02-24 13:39:55 +01:00
Victor Olin
0260b2876c Next up is tests
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:39:48 +01:00
Victor Olin
b53f892393 Almost finished w/ 1st impl of GC 2023-02-24 13:37:47 +01:00
Victor Olin
920ae04595 Almost finished with 1st impl of GC
Co-authored-by: ValterMiari <ValterMiari@users.noreply.github.com>
2023-02-24 13:37:47 +01:00
Victor Olin
7d91cf871a Goal for next week 2023-02-24 13:37:47 +01:00
Victor Olin
e52c38f5f7 Worked a bit on the heap 2023-02-24 13:37:47 +01:00
Victor Olin
17d41a408d Started with a rough structure 2023-02-24 13:37:47 +01:00
valtermiari
3852583f08 A simple mark-sweep implementation 2023-02-24 13:37:47 +01:00
Victor Olin
f1f8ed176b init branch 2023-02-24 13:37:47 +01:00
Samuel Hammersberg
087850d1cf
Merge pull request #8 from bachelor-group-66-systemf/prep-tc-merge
Add simple type checker and convert pipleline to use typed AST
2023-02-18 14:03:40 +00:00
Martin Fredin
f485ca9762 Remove case expressions 2023-02-18 14:49:33 +01:00
Martin Fredin
4ab6681f68 Rearrange code 2023-02-18 14:36:59 +01:00
Martin Fredin
3efb27ac0c Document and fix code style 2023-02-18 13:41:38 +01:00
Martin Fredin
b8aedd541d Document and fix code style 2023-02-18 13:35:33 +01:00
Martin Fredin
21fb6bf5ed Fix indentation 2023-02-18 13:27:58 +01:00
Martin Fredin
ad615cc9d8 Document and fix code style 2023-02-18 13:26:41 +01:00
Martin Fredin
a3e57dde7b Change grammar: only one bind in let and no EAnn for typed syntax 2023-02-18 13:02:25 +01:00
Samuel Hammersberg
7cedc2e28c Started adding cases to the grammar. 2023-02-17 15:25:06 +01:00
Martin Fredin
d345ccb33b Fix import statement 2023-02-16 14:22:40 +01:00
Samuel Hammersberg
ab34666484 Fixed types on functions in the code generator. 2023-02-16 14:16:08 +01:00
Samuel Hammersberg
6d9c42a03e Got higher order functions working. 2023-02-16 13:36:45 +01:00
Samuel Hammersberg
46c6f5b7ab Fixed scoping of function pointers. 2023-02-16 11:17:45 +01:00
Samuel Hammersberg
5680334fde Fixed some small issues. 2023-02-16 10:03:25 +01:00
Martin Fredin
7ef7090aa5 Merge llvm_testing, and use TypeCheckerIr instead of Abs 2023-02-16 02:17:07 +01:00