Commit graph

19 commits

Author SHA1 Message Date
1d826ea8d4 parser for types + start moving all types to separate modules 2025-05-06 23:41:12 +02:00
8eec5b9239 recursive types (and operations on them, like pretty-printing, comparison and unification) seem to be working.
big part of the code base still needs to be 'ported' to the updated type constructors.
2025-05-05 17:17:45 +02:00
55c5d7cffa move function 2025-04-20 21:14:40 +02:00
3978f7f835 branching and very basic merging of slots 2025-04-17 09:19:41 +02:00
342d4b34ef fix bug in polymorphic types (when creating a tuple of two empty lists, there was only one type variable (the type of the list), whereas each list could have a different type, so there should be two type variables) + make type variables look nicer 2025-04-04 10:04:40 +02:00
4a4983f693 interactive prompt can handle polymorphic types 2025-04-02 15:49:43 +02:00
a0e3aa0cb3 turn the function for creating new types (or type constructors) into a DOPE function 2025-03-31 17:35:30 +02:00
d8ca2f3999 progress and some refactoring 2025-03-31 15:35:02 +02:00
145835ad5d progress 2025-03-24 17:28:07 +01:00
6af72e525c progress 2025-03-24 08:25:53 +01:00
bc91d9bf39 lotta progress 2025-03-23 13:25:47 +01:00
29d20b2273 wip 2025-03-23 09:15:37 +01:00
afd78c3b3e progress 2025-03-22 10:33:35 +01:00
33c156fc5c type inferencing "unifying" operation is now bi-directional + begin writing generic version of "unifying" operation (that should work on all types) 2025-03-20 19:59:24 +01:00
c5ac55b0ff progress with type classes, type inference still very ad-hoc 2025-03-20 18:34:58 +01:00
5283be608b refactor code: move everything from type_registry to "most appropriate" modules 2025-03-20 18:12:30 +01:00
18b5e56ff0 add nominal types for 2D points 2025-03-20 12:07:31 +01:00
94efde3e65 add interactive prompt 2025-03-20 09:54:11 +01:00
ce192b49f2 move file 2025-03-19 16:13:10 +01:00