Commit graph

93 commits

Author SHA1 Message Date
54b1bf5716 set all return types to 'any' (many of them were wrongly detected) 2025-05-13 14:14:28 +02:00
1a55c52782 fix module types 2025-05-13 14:11:41 +02:00
135bfc7351 add type definitions (auto-generated) 2025-05-13 14:08:44 +02:00
a9e21d7d94 forgot something 2025-05-12 11:03:17 +02:00
cb45d88e17 correct type of emptyDict and emptySet 2025-05-12 10:44:02 +02:00
d531c48a92 change index 2025-05-11 09:33:34 +02:00
dadee965e5 trie: add get function 2025-05-11 09:30:48 +02:00
dd35e2b577 fix 2025-05-11 00:30:03 +02:00
29c7b6af61 fix bug in trie 2025-05-10 23:04:13 +02:00
3b8548e9af fix bug in trie 2025-05-10 20:53:36 +02:00
fe6e86e1a4 fix bug in trie 2025-05-10 20:28:40 +02:00
075cc1244f fix Trie.suggest (for real this time?) 2025-05-10 19:51:00 +02:00
660512cc19 fix bug in Trie.suggest? 2025-05-10 19:37:38 +02:00
a166ebb0d7 change behavior of trie-suggest 2025-05-10 15:49:59 +02:00
1fa47d4abd rename function 2025-05-10 14:45:50 +02:00
d363d73dbd fix imports 2025-05-10 12:36:06 +02:00
be856bffad remove unused import 2025-05-10 12:31:51 +02:00
3ac945f993 bump version to make dependents also no longer dependent on removed dependency?? 2025-05-10 12:30:05 +02:00
c91bcd979c remove dependency 2025-05-10 12:25:35 +02:00
b68092d058 create index.js 2025-05-10 12:08:43 +02:00
9c79d13b1f use performance.now() instead of Date.now() in benchmark 2025-05-10 11:13:47 +02:00
a839d69c0e add radix tree benchmark 2025-05-10 10:45:27 +02:00
fe978c5b41 environment includes mapping name -> instance 2025-05-10 10:00:44 +02:00
1780920438 (broken) use lowercase names for symbols 2025-05-10 09:19:40 +02:00
639d70afa5 (broken) modules are mappings from name to typed value 2025-05-10 09:14:58 +02:00
c27c7d3648 add purely functional Trie 2025-05-10 02:03:41 +02:00
c3dc16b328 give package a name 2025-05-09 21:09:22 +02:00
63b1aa6238 fix 2025-05-09 16:55:18 +02:00
1f2249e75a add comparison functions for SetIterator and DictIterator 2025-05-09 16:51:29 +02:00
b0023afe8c create 'Ordering' type 2025-05-09 16:35:26 +02:00
77dfc8b182 split 'environment' example up into library and interactive prompt 2025-05-09 16:05:12 +02:00
255bc475d7 fix 2025-05-09 15:03:17 +02:00
b1c2e7836d replace 'prompt' example by 'environment' 2025-05-09 14:53:43 +02:00
f8008aa25d Use nix flake to get dev shell 2025-05-09 13:13:56 +02:00
e1a2139cb4 use newDynamic() everywhere instead of { i: ... , t: ... } 2025-05-08 23:56:58 +02:00
34d06aa82a small changes 2025-05-08 23:35:34 +02:00
4c394441b0 fix things 2025-05-08 23:08:48 +02:00
8a4b47df02 create dictionary of {Type => {set of instances}} 2025-05-08 22:59:50 +02:00
9e1f679dba pretty print enhancements + comparison of generic functions 2025-05-08 22:59:01 +02:00
bbac7858ae fix some things 2025-05-08 21:30:56 +02:00
d9111c3969 delete more unused code 2025-05-08 17:32:34 +02:00
07d313f938 delete no longer used class 'DefaultMap' 2025-05-08 17:31:35 +02:00
35d682429b turn one example into a test + fix bug in type variable substition function 2025-05-08 17:30:42 +02:00
a664ddac8a simplify: no distinction between generic types and 'normal' types. 2025-05-08 16:58:07 +02:00
b4826605af add dict comparison function 2025-05-07 14:05:57 +02:00
48390b8556 reorganize directory and file structure 2025-05-07 13:44:49 +02:00
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
8a4bd44f04 rename some things 2025-04-20 21:09:51 +02:00