Commit graph

1300 commits

Author SHA1 Message Date
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
Folkert
8dddf952a8 WIP List.map + RC'd closure troubles 2021-05-17 19:31:52 +02:00
Folkert
2b72f9e733 add HigherOrderLowLevel 2021-05-16 22:49:57 +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
353e161f77 expose support for multi-increment 2021-05-16 21:25:47 +02:00
Folkert
de7b06e411 refactor + clippy 2021-05-16 21:17:34 +02:00
Folkert
febb578773 rework refcount code gen to accept unknown inc values 2021-05-16 20:28:45 +02:00
Folkert
ebd62485df add ir unknowninc instruction 2021-05-16 17:25:01 +02:00
Folkert
c2108d4ecd rework refcount code gen to accept unknown inc values 2021-05-16 16:15:27 +02:00
Folkert
3ca6ffade9 make List.map borrow based on passed function 2021-05-16 14:09:39 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00
Folkert
16fe609464 remove Expr::FunctionPointer 2021-05-15 21:29:10 +02:00
Folkert
3739f41cac explicitly store and pass layout of a function passed to lowlevel 2021-05-15 21:25:38 +02:00
Folkert
357f93a2ee store the layout of a function passed to a lowlevel 2021-05-15 20:54:26 +02:00
Folkert
8d108634a2 generate fx caller later in the process, so it can reference other procs 2021-05-14 22:55:39 +02:00
Folkert
89ad21145b get scratchpad to run 2021-05-14 20:53:47 +02:00
Folkert
48386f2fc6 get Scratchpad to build 2021-05-14 17:01:57 +02:00
Folkert
3c7e849830 get poc-effect working 2021-05-14 15:09:55 +02:00
Folkert
ca78439756 working Set.walk 2021-05-14 12:35:44 +02:00
Folkert
d25b1dc549 fix final list test 2021-05-14 01:02:16 +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
Folkert
f02f655e0b got some lowlevel stuff working 2021-05-13 01:39:06 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Folkert
9708876dd8 fix closure example 2021-05-10 21:38:17 +02:00
Eric Henry
eda462c6e9 implement list.concat in zig 2021-05-08 14:39:06 -04:00
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +02:00
Folkert
839095942d reallocate in strings 2021-05-01 23:16:34 +02:00
Folkert
314b7e41fd use realloc in List.append 2021-05-01 22:01:18 +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
Richard Feldman
c77127e6fb
Merge pull request #1227 from rtfeldman/use-zig-types
Use zig types in LLVM codegen
2021-04-23 21:03:38 -04: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