Commit graph

2929 commits

Author SHA1 Message Date
Folkert
6154ce1254 clippy 2021-02-17 01:22:16 +01:00
Richard Feldman
80f00124a9
Merge branch 'trunk' into dict-more 2021-02-15 22:52:22 -05:00
Richard Feldman
b8ddf74500
Merge pull request #994 from rtfeldman/gen_dev/switch
Gen dev/switch
2021-02-15 22:47:19 -05:00
Folkert
a37913ff01 fix shadowing 2021-02-16 01:23:10 +01:00
Folkert
0fc66aa61d fix tests 2021-02-16 01:06:24 +01:00
Folkert
411a265024 remove bitcast in Str.fromFloat 2021-02-16 00:56:44 +01:00
Folkert
49ca8f3e86 add Set.fromList 2021-02-16 00:51:23 +01:00
Folkert
581628f461 add gen_result test file 2021-02-16 00:14:59 +01:00
Folkert
5826da028c add Set.contains 2021-02-16 00:12:57 +01:00
Folkert
fdf020d89a add closure problem error reporting 2021-02-16 00:05:00 +01:00
Folkert
83f875ddca use helpers in can builtin construction 2021-02-15 22:50:02 +01:00
Folkert
fbaac9165f add lowlevel helpers to can builtins 2021-02-15 22:33:58 +01:00
Folkert
0fdba3be56 memory leak investigation 2021-02-15 22:05:00 +01:00
Folkert
82ff8a8edf clippy 2021-02-15 21:35:52 +01:00
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Folkert
9527434be8 Set.walk closure trouble 2021-02-15 02:04:04 +01:00
Folkert
35e1e94a94 implement Set.walk 2021-02-15 01:49:25 +01:00
Folkert
57e8d5b4c3 implement Set inclusion functions 2021-02-14 23:57:35 +01:00
Folkert
1256327caa dict walk 2021-02-14 21:16:42 +01:00
Folkert
39c4353554 add difference 2021-02-14 20:01:24 +01:00
Folkert
02db8f1a05 union and intersection 2021-02-14 19:55:01 +01:00
Folkert
88d5b84cc7 add unit value dict tests 2021-02-14 18:44:30 +01:00
Folkert
87ce5d9dd8 remove dict test 2021-02-14 16:24:26 +01:00
Folkert
3f28a40f57 use RocStr From instance 2021-02-14 16:20:53 +01:00
Folkert
b114ca80b4 fix test 2021-02-14 16:19:04 +01:00
Folkert
c4e606bcc6 fix formatting issue 2021-02-14 16:09:59 +01:00
Folkert
02e161f839 add dict tests with string keys/values 2021-02-14 15:49:40 +01:00
Folkert
7f8ca150f5 always inline RocDict functions 2021-02-14 15:11:47 +01:00
Folkert
89821a83af use nicer casting method 2021-02-14 15:05:58 +01:00
Folkert
62d0bc62ce deallocate dict when it becomes empty 2021-02-14 14:49:01 +01:00
Folkert
cceb2a353d Merge remote-tracking branch 'origin/trunk' into dict-insert 2021-02-14 13:42:07 +01:00
Brendan Hansknecht
6293fbfade Merge remote-tracking branch 'origin' into gen_dev/switch 2021-02-13 21:37:24 -08:00
Richard Feldman
0db8e2dbf2
Merge branch 'trunk' into gen_dev/funcs 2021-02-13 23:38:33 -05:00
Folkert
821df8bff8 Merge remote-tracking branch 'origin/trunk' into gen-equality 2021-02-14 03:44:31 +01:00
Folkert
67aaaf4623 remove some dead code 2021-02-14 03:44:00 +01:00
Folkert
b7ae151d6e clippy 2021-02-14 03:18:27 +01:00
Folkert
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +01:00
Folkert
c9e2958947 add refcount check 2021-02-14 00:42:42 +01:00
Brendan Hansknecht
a783be3332 gen_dev: add switch statements. This also fixes a small bug with comparisons. 2021-02-13 15:35:55 -08:00
Folkert
27c3a7c8f2 only refcount filled cells 2021-02-14 00:33:07 +01:00
Folkert
49bba11e06 refactor findIndex and insert 2021-02-14 00:25:44 +01:00
Folkert
b2e626ab0c Dict.insert WIP 2021-02-13 23:32:01 +01:00
Folkert
84e4cbc859 hook up compare with dict wrapper 2021-02-13 19:49:22 +01:00
Folkert
e7efcb74e6 Merge remote-tracking branch 'origin/gen-equality' into dict-insert 2021-02-13 19:45:33 +01:00
Folkert
63b4d1dd65 don't reset slots when making unique 2021-02-13 19:42:35 +01:00
Folkert
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
927ba11e64 implement inc/dec for dicts 2021-02-13 16:56:00 +01:00
Folkert
685ae620a1 Merge remote-tracking branch 'origin/trunk' into dict-insert 2021-02-13 16:41:23 +01:00
Folkert
e9f2d9d608 work on refcount 2021-02-13 16:41:13 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01:00