Commit graph

640 commits

Author SHA1 Message Date
Folkert
bb3fe92251 Revert "add ir unknowninc instruction"
This reverts commit ebd62485df.
2021-05-16 21:52:30 +02:00
Folkert
ebd62485df add ir unknowninc instruction 2021-05-16 17:25:01 +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
2163e01288 lowlevel List.map works 2021-05-13 19:15:17 +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
Folkert
c071cfba13 implement startsWithCodePoint 2021-05-02 19:26:08 +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
Folkert
95fbc15373 add test 2021-04-23 11:27:36 +02:00
Folkert
6633f8ca9f add ExpectTrue lowlevel 2021-04-23 10:16:30 +02:00
Folkert
fb5e5ddb2b fix alignment? 2021-04-14 20:17:24 +02:00
Folkert
5942f64b3c fix memory issue in the repl 2021-04-14 17:42:08 +02:00
Folkert
5690794dc9 fix cast problem 2021-04-14 15:16:57 +02:00
Folkert
ca1bb20389 store string literals without allocation 2021-04-14 15:13:25 +02:00
Richard Feldman
ab7d2d5912 Clean up some dbg calls 2021-04-11 09:44:59 -04: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
Eric Henry
ac001598e8 setup before zig work 2021-04-03 11:28:36 -04:00
Eric Henry
8e36b5797b Merge branch 'trunk' of github.com:rtfeldman/roc into builtin-sortby 2021-04-03 10:03:45 -04:00
rvcas
1459679faf feat(gen/llvm): call_bitcode_fn for list_reverse 2021-04-02 01:59:27 -04:00
Folkert
f2c144f58c Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range 2021-03-31 11:34:32 +02:00
Folkert
5d8d2bb030 Merge remote-tracking branch 'origin/trunk' into can-builtins-simplify 2021-03-31 11:29:33 +02:00
Folkert
e3293f1ba9 remove list sum and product lowlevel ops 2021-03-30 22:55:27 +02:00
Eric Henry
7045737669 sortWith boilerplate done 2021-03-30 11:05:31 -04:00
Folkert
eba295033d clippy 2021-03-29 23:07:21 +02:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Ju Liu
928249df2a Add Num.log and wire it up 2021-03-28 15:02:45 +01:00
Peter Fields
3b07a7885c format files 2021-03-27 20:50:21 +00:00
Peter Fields
fed470b316 add list-product builtin function 2021-03-27 20:15:16 +00:00
Richard Feldman
eadb28b95d Replace a bunch of Into impls with Froms 2021-03-26 08:39:01 -04:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
b6d8b301d5 fix overflow issue in Num.isMultipleOf 2021-03-19 17:24:55 +01:00
Eric Henry
d75a01cfa9 Remove comment 2021-03-15 23:31:35 -04:00
Eric Henry
05ff53a6f5 Make the then branch the one that will happen most often 2021-03-15 23:27:43 -04:00