Commit graph

172 commits

Author SHA1 Message Date
Folkert
e2b200b84f simplify list layout 2021-05-26 14:28:56 +02:00
Richard Feldman
ffb6ced18f Move InPlace from llvm to mono 2021-05-25 18:12:11 -04:00
Folkert
4d0216cf09 fix merge conflicts 2021-05-25 09:18:39 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Folkert
91b49ecf98 Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set 2021-05-24 18:25:18 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
13198bce37 Update comments to no longer reference malloc 2021-05-23 23:46:09 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
a4ed13d714 optimize zig code 2021-05-23 15:58:08 +02:00
Folkert
44c2297d08 cleanup 2021-05-22 22:15:14 +02:00
Folkert
25ec057b2b write List.set in zig 2021-05-22 22:13:54 +02:00
Folkert
ba804a97c7 remove dead code 2021-05-22 17:27:36 +02:00
tarjei
85e5b0ff82 Fix most of deref logic
Still doesn't handle empty lists properly.
2021-05-21 21:53:55 +02:00
Folkert
8f55706d5d fix list gen tests 2021-05-19 22:45:30 +02:00
Folkert
f3199ed2a7 work on dicts 2021-05-19 22:32:31 +02:00
Folkert
d01d539d6b first pass for List.keep 2021-05-19 21:30:43 +02:00
Folkert
e3b102e0c3 fix List.map3 2021-05-19 16:41:12 +02:00
Folkert
d2b0ecdd04 fix List.map2 2021-05-19 16:07:50 +02:00
Folkert
87b9f866d3 WIP fixing the borrowing in HOFs 2021-05-19 15:28:20 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
8dddf952a8 WIP List.map + RC'd closure troubles 2021-05-17 19:31:52 +02:00
Folkert
917acac843 Merge remote-tracking branch 'origin/increment-many' into specialize-lowlevel 2021-05-16 21:57:15 +02:00
Folkert
bb3fe92251 Revert "add ir unknowninc instruction"
This reverts commit ebd62485df.
2021-05-16 21:52:30 +02:00
Folkert
4afd3cfce6 fixup 2021-05-16 21:32:45 +02:00
Folkert
ebd62485df add ir unknowninc instruction 2021-05-16 17:25:01 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00
Folkert
3739f41cac explicitly store and pass layout of a function passed to lowlevel 2021-05-15 21:25:38 +02:00
Folkert
1ee1a8114b more builtins 2021-05-14 00:41:39 +02:00
Folkert
acfaf96734 lots of progress, many bugs 2021-05-13 23:45:39 +02:00
Folkert
c4fc526038 working functions in list 2021-05-13 19:43:17 +02:00
Folkert
2163e01288 lowlevel List.map works 2021-05-13 19:15:17 +02:00
Eric Henry
eda462c6e9 implement list.concat in zig 2021-05-08 14:39:06 -04:00
Folkert
839095942d reallocate in strings 2021-05-01 23:16:34 +02:00
Folkert
127b64034e cleanup 2021-05-01 20:28:43 +02:00
Folkert
3b443eef10 remove manual bitcasts 2021-05-01 20:26:18 +02:00
Folkert
b3772b72a1 remove code 2021-05-01 20:15:31 +02:00
Folkert
3b01902286 remove dead code 2021-05-01 20:04:58 +02:00
Folkert
d411d5dd7e remove more code 2021-05-01 17:20:37 +02:00
Folkert
e5c2ece4f0 refactor some more 2021-05-01 16:55:08 +02:00
Folkert
1f20ce23bd delete lines! 2021-05-01 16:50:19 +02:00
Folkert
586727f74a list single in zig 2021-05-01 16:38:11 +02:00
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Folkert
2319b33794 use zig list/str type 2021-04-23 16:24:36 +02:00
Folkert
41c1878d8d use zig dict type 2021-04-23 15:19:15 +02:00
Richard Feldman
62e87dc970
Merge branch 'trunk' into builtin-sortby 2021-04-03 20:30:14 -04:00
Folkert
07a0f69d95 clippy 2021-04-03 21:25:26 +02:00
Folkert
e78fa99030 working version 2021-04-03 20:35:00 +02:00
Eric Henry
57640e3ee0 fix typo 2021-04-03 11:29:28 -04:00