Commit graph

596 commits

Author SHA1 Message Date
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
Rakarake
dbc77ec5f3 Progress 2023-03-02 18:36:50 +01:00
sebastianselander
2401b6437b continued work pattern matching 2023-03-02 16:05:43 +01:00
Rakarake
514d79bd6c Strucute in place, MonomorpherIr module created 2023-03-01 13:50:01 +01:00
Victor Olin
137687e446 Started working on a custom profiler 2023-02-28 18:44:07 +01:00
Victor Olin
4f9aaaf8b4 Started working on a custom profiler 2023-02-28 18:42:07 +01:00
sebastianselander
05313652f9 unit tests, started on pattern matching 2023-02-28 17:15:48 +01:00
Victor Olin
5e52de10bd Fixed broken tests 2023-02-28 16:01:39 +01:00
Sebastian Selander
d23d417ff3
Update TypeChecker.hs 2023-02-27 19:38:45 +01:00
sebastianselander
bbf6e159c7 Type inference/checking on ADTs mostly complete(?). Still have to test 2023-02-27 17:22:42 +01:00
sebastianselander
2f45f39435 Incorporated most of main, as well as started on quickcheck 2023-02-27 11:12:05 +01:00
Victor Olin
0b0344be69 Include issue 2023-02-26 15:51:04 +01:00
Victor Olin
aae3a5ff78 Switched back to vectors 2023-02-24 20:41:59 +01:00
Samuel Hammersberg
7cf6f30835 Data type constructors now properly tag the data. 2023-02-24 18:37:31 +01:00
Samuel Hammersberg
262543931c Types for data types are now created. 2023-02-24 16:05:49 +01:00
valtermiari
87f5d7fe74 Merge branch 'g-collection' of https://github.com/bachelor-group-66-systemf/language into g-collection 2023-02-24 14:25:08 +01:00
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