Commit graph

3744 commits

Author SHA1 Message Date
Folkert
1d7ca32101 passing tests! 2021-05-20 22:43:55 +02:00
Folkert
910a7e5113 fix bug where results of top-level thunks are not RC'd 2021-05-20 22:39:14 +02:00
Folkert
6347b64af7 enable perceus stuff 2021-05-20 21:22:13 +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
Folkert
653d745dc5 fix closure RC increments 2021-05-18 21:35:21 +02:00
Folkert
c5bb041edd fix closure RC increments 2021-05-18 21:35:02 +02:00
Folkert
04968d6394 fix closure RC increments 2021-05-18 21:34:37 +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
e675bac893 make higher-order distinction in lowlevels 2021-05-16 22:13:13 +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
7520dfee06 Revert "formatting"
This reverts commit 3540a048d8.
2021-05-16 21:52:20 +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
3540a048d8 formatting 2021-05-16 20:25:18 +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
3a4a78fdbb conditional import 2021-05-16 01:05:29 +02:00
Folkert
309a677213 fix update of 1-element record 2021-05-16 00:54:57 +02:00
Folkert
2d2418a514 fix mono tests 2021-05-16 00:54:33 +02:00
Folkert
4623e0f1ae disable i64_force_stack 2021-05-16 00:35:42 +02:00
Folkert
691fa56d50 make repl evaluate 0-argument thunk 2021-05-16 00:23:04 +02:00
Folkert
27f8465e9c clippy 2021-05-15 23:59:54 +02:00
Folkert
24c9741281 fix recipe for disaster 2021-05-15 23:22:00 +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
27a6a179da recipe for disaster; track the underlying cause down! 2021-05-15 13:00:37 +02:00
Folkert
a75ddbba5e make Hello.roc work 2021-05-15 00:09:07 +02:00
Folkert
ef3ec8ca74 don't treat non-thunks as thunks 2021-05-14 23:22:11 +02:00
Folkert
acd6fde083 fix invoke codegen 2021-05-14 23:11:59 +02:00
Folkert
16f17cba88 comments/whitespace 2021-05-14 22:57:39 +02:00
Folkert
5440632dc5 use consts for owned/borrowed 2021-05-14 22:56:42 +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
49521f5279 enable more ignored tests 2021-05-14 15:19:22 +02:00
Folkert
e40db9a207 fix return_wrapped_closure" 2021-05-14 15:16:35 +02:00
Folkert
3c7e849830 get poc-effect working 2021-05-14 15:09:55 +02:00
Folkert
a055fa3626 fix record accessors 2021-05-14 13:07:35 +02:00