Commit graph

791 commits

Author SHA1 Message Date
Folkert
c10c442473 add better debug info 2021-02-19 17:12:11 +01:00
Folkert
207a5eb537 change how invoke refcounting works (the live variable calculation was incorrect) 2021-02-19 17:11:29 +01:00
Folkert
b24882eb95 adjust borrow signatures of builtins 2021-02-19 17:10:30 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00
Folkert
4ef527324d fix another oversight 2021-02-18 22:38:48 +01:00
Folkert
2afc804a9b fix oversight 2021-02-18 22:34:46 +01:00
Folkert
2200a930f9 fix Deriv 2021-02-18 21:57:07 +01:00
Folkert
34007651ac fix Closure3 2021-02-18 20:27:37 +01:00
Folkert
0cdea4e36a remove passed_by_pointer infrastructure 2021-02-18 19:48:36 +01:00
Folkert
0d64d5ac1b wrap by-pointer functions so they own all arguments 2021-02-18 19:11:02 +01:00
Folkert
68a459cd95 wrap calls by pointer 2021-02-18 16:46:31 +01:00
Folkert
0b6975fa77 de-alias same symbol with different layouts in borrow inference 2021-02-18 15:53:37 +01:00
Richard Feldman
fe98229aa3
Merge branch 'trunk' into dict-more 2021-02-17 23:47:13 -05:00
Folkert
418be685ad store tag id in closure unions 2021-02-18 02:50:07 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
b09f82ff51 clippy 2021-02-17 01:08:24 +01:00
Folkert
e6ec85eeba revert mono tests 2021-02-17 01:05:03 +01:00
Folkert
80736f93b9 fix mono tests 2021-02-17 00:48:37 +01:00
Folkert
6d6c7a294a improved debug printing of layouts 2021-02-17 00:39:34 +01:00
Folkert
f59e79d779 RC expansion of nested structs 2021-02-17 00:38:14 +01:00
Folkert
c788965182 only reference count closures if the captured values are RC'd 2021-02-16 22:00:15 +01:00
Folkert
bc0a6f24ef cover the closure case in RC expansion 2021-02-16 21:59:08 +01:00
Folkert
4b20f969de never borrow a closure layout 2021-02-16 21:58:52 +01:00
Folkert
22a9779fe4 test case for alias diff reporting 2021-02-16 17:22:06 +01:00
Folkert
2a22f6254f Merge remote-tracking branch 'origin/trunk' into specialize-owned 2021-02-16 17:08:35 +01:00
Folkert
3b267392b3 make closure borrowed example work 2021-02-16 15:44:27 +01:00
Folkert
e4f0dc8897 crude prototype 2021-02-16 14:42:16 +01:00
Folkert
49ca8f3e86 add Set.fromList 2021-02-16 00:51:23 +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
02db8f1a05 union and intersection 2021-02-14 19:55:01 +01:00
Folkert
b114ca80b4 fix test 2021-02-14 16:19:04 +01:00
Folkert
821df8bff8 Merge remote-tracking branch 'origin/trunk' into gen-equality 2021-02-14 03:44:31 +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
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
685ae620a1 Merge remote-tracking branch 'origin/trunk' into dict-insert 2021-02-13 16:41:23 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01:00
Folkert
0f53665afa fix tests 2021-02-13 02:37:41 +01:00
Folkert
b8ec7d1e69 Merge remote-tracking branch 'origin/trunk' into trunk 2021-02-13 02:03:45 +01:00
Folkert
bacc7a9c6b fuse RC operations on records/closures 2021-02-13 02:03:36 +01:00
Richard Feldman
5b83ec719e
Merge branch 'trunk' into gen-equality 2021-02-12 19:37:09 -05:00
Richard Feldman
76a9461cfe
Merge branch 'trunk' into gen-equality 2021-02-12 19:13:01 -05:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00