Commit graph

637 commits

Author SHA1 Message Date
Folkert
02e161f839 add dict tests with string keys/values 2021-02-14 15:49:40 +01:00
Folkert
210bd18fe3 implement decref, fuse RC operations 2021-02-14 03:16:11 +01:00
Folkert
e7efcb74e6 Merge remote-tracking branch 'origin/gen-equality' into dict-insert 2021-02-13 19:45:33 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01: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
ee21f86f8f hooking everything up 2021-02-12 17:18:06 +01:00
Folkert
56542e41ad fix recursion issue in generic_eq 2021-02-11 16:44:44 +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
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01: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
352008e8a0 use user-provided seed 2021-02-09 22:25:01 +01:00
Folkert
31fc62b7f0 cleanup 2021-02-06 21:46:22 +01:00
Chadtech
a575ff22fa Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-02-04 00:37:30 -05:00
Folkert de Vries
438a2e6f83
Merge branch 'trunk' into parser-with-progress 2021-02-04 00:40:20 +01:00
Folkert
e643d1ea3c more backtracking 2021-02-02 18:47:58 +01:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Folkert
3ccf6de2cf add branch info to switches 2021-01-31 20:36:40 +01:00
Chadtech
7a64ffede5 Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-29 21:17:32 -05:00
Folkert
55eff1dba1 fix oversights 2021-01-28 15:32:22 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Folkert
7e89307292 implement Dict.empty 2021-01-25 16:53:11 +01:00
Richard Feldman
4bd84f4b6f
Merge branch 'trunk' into str-join 2021-01-25 00:54:28 -05:00
Folkert
48c8343d53 add Str.joinWith 2021-01-25 00:30:48 +01:00
Chadtech
ec7d8e0dc9 Bringing in Trunk and resolving conflict 2021-01-23 21:23:31 -05:00
Folkert
54fb482b79 Merge remote-tracking branch 'origin/trunk' into list-empty-record 2021-01-23 15:24:05 +01:00
Folkert
513d7cd78f groundwork for RoseTree 2021-01-23 01:39:04 +01:00
Chadtech
9d776a2de5 rename Dict.size to Dict.len 2021-01-21 23:16:25 -05:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Folkert
5a2b2cbcac add multiple increment test 2021-01-22 00:15:01 +01:00
Folkert
df8ab829a6 fix one element struct unpacking
I think this broke when we decided that we want to not drop empty fields from layouts?
2021-01-21 21:40:04 +01:00
Folkert
e8e087f869 move panic down so we see the error messages 2021-01-19 20:21:16 +01:00
Folkert
4be3e1c762 narrow down problem in ignored tests 2021-01-19 19:22:11 +01:00
Folkert
14a45ce012 remove test that now passes 2021-01-19 16:46:32 +01:00
Folkert
b167098275 optimize bitcast generation 2021-01-19 16:46:02 +01:00
Folkert
b84670328a enable rbtree_insert test 2021-01-19 15:09:21 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Chadtech
fdff20b2c1 Dict.size added to builtins.rs 2021-01-18 21:03:15 -05:00
Folkert
83fd1de89b fix bug: incorrect var definition before switch 2021-01-18 23:52:58 +01:00
Folkert
0ac5a16e86 fix bug: incorrect block_of_memory layout 2021-01-18 23:41:42 +01:00
Folkert
e11b478892 fix tests 2021-01-18 22:10:21 +01:00
Folkert
cb0c5ef751 make bitcast more descriptive 2021-01-18 22:06:14 +01:00
Chadtech
bade5dd48d Dictionary rust modules 2021-01-18 15:26:21 -05:00
Chadtech
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05:00
Folkert
4f4d555197 fix complex Switch bug 2021-01-18 01:30:57 +01:00
Folkert
0b4af7e499 fix switching on the tag id 2021-01-17 21:12:46 +01:00
Folkert
8cd744342b Merge remote-tracking branch 'origin/trunk' into nullable-tags 2021-01-17 02:37:57 +01:00