Commit graph

1349 commits

Author SHA1 Message Date
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
3f28a40f57 use RocStr From instance 2021-02-14 16:20:53 +01:00
Folkert
02e161f839 add dict tests with string keys/values 2021-02-14 15:49:40 +01:00
Folkert
89821a83af use nicer casting method 2021-02-14 15:05:58 +01:00
Folkert
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +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
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
Folkert
c04b3846c7 fix typo 2021-02-13 03:04:49 +01:00
Richard Feldman
5b83ec719e
Merge branch 'trunk' into gen-equality 2021-02-12 19:37:09 -05:00
Richard Feldman
baaf621b88
drop commented-out dbg! 2021-02-12 19:22:38 -05:00
Richard Feldman
548c3c3f15
fix typo 2021-02-12 19:21:38 -05:00
Richard Feldman
76a9461cfe
Merge branch 'trunk' into gen-equality 2021-02-12 19:13:01 -05:00
Folkert
cba729a933 use inline always strategically 2021-02-13 01:10:37 +01:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
b4ab02f23a actually generate RC dec code for dict values 2021-02-12 21:39:20 +01:00
Folkert
574e472978 hide debug init stuff in a macro 2021-02-12 21:24:49 +01:00
Folkert
d9d31f6cb4 getting and setting of key/value/tag 2021-02-12 21:16:28 +01:00
Folkert
ac78ed9dfc add dict capacity to its stack size 2021-02-12 19:16:55 +01:00
Folkert
ee21f86f8f hooking everything up 2021-02-12 17:18:06 +01:00
Anton-4
30dca9528c
Merge branch 'trunk' into valgrind_ci 2021-02-12 11:55:35 +01:00
Folkert
56542e41ad fix recursion issue in generic_eq 2021-02-11 16:44:44 +01:00
Folkert
369a8fb2ee refactor foreign call codegen 2021-02-11 16:03:34 +01:00
Folkert
993018b3a5 don't clone list with RC=1 2021-02-10 22:37:51 +01:00
Folkert
de5493172b concat does not need to decrement 2021-02-10 22:09:18 +01:00
Folkert
1f0a16ec57 call to foreign function dropped continuation 2021-02-10 22:05:33 +01:00
Folkert
402b97aeb4 clippy 2021-02-10 19:54:21 +01:00
Folkert
b61736fbed hash list and RoseTree 2021-02-10 19:50:18 +01:00
Folkert
129f85b1f5 hash tag & struct 2021-02-10 16:48:04 +01:00
Folkert
9ab9675a43 refactor build_hash 2021-02-10 15:24:06 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Richard Feldman
f5b1b80ca6
Merge branch 'trunk' into gen-equality 2021-02-09 22:55:56 -05:00
Folkert
c13e72fecb check for pointer equality 2021-02-10 03:49:03 +01:00
Folkert
b70cedf587 complete equality of tags 2021-02-10 03:17:24 +01:00
Folkert
6aaf12c49c initial work on tag equality 2021-02-10 01:02:14 +01:00
Folkert
298dec02fe refactor compare codegen 2021-02-09 23:34:42 +01:00
Folkert
45d8bff072 equality for structs 2021-02-09 23:14:08 +01:00
Folkert
b6ceaab341 first steps for init 2021-02-09 22:47:38 +01:00
Folkert
352008e8a0 use user-provided seed 2021-02-09 22:25:01 +01:00
Jared Ramirez
f3d9c2f2bb Finish first pass of Str.fromUtf8 2021-02-07 20:04:10 -08:00
Jared Ramirez
815f633a58 [WIP] Setup rust side to call Str.fromUtf8 2021-02-07 20:04:10 -08:00