Commit graph

446 commits

Author SHA1 Message Date
Kevin Sjöberg
c18f306a7e Remove dead code 2021-11-06 14:55:27 +01:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Brendan Hansknecht
bddc08c977 Remove unused dependencies 2021-11-05 16:58:11 -07:00
Folkert
5cd232816b waypoint 2021-11-05 21:30:20 +01:00
Folkert
51756cbc89 fix uninitialized alloca 2021-11-05 11:21:06 +01:00
Folkert
e378f0d2f9 fix tags tests 2021-11-05 10:35:17 +01:00
Folkert
2174db6534 Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust 2021-11-05 09:28:36 +01:00
Anton-4
a3fc724df3 removed unused maplit 2021-11-03 10:50:25 +01:00
Richard Feldman
ac42470c81 Drop unused libc deps 2021-11-02 19:37:38 -04:00
Richard Feldman
4e19320982
Merge branch 'trunk' into false-cleanup 2021-11-01 22:30:45 -04:00
Kevin Sjöberg
f9ed060e49 Implement List.map4 2021-10-31 21:08:41 +01:00
Folkert
27e70b03e0 cleanup 2021-10-30 22:20:14 +02:00
Folkert
36496662d2 add comment on uninitialized memory 2021-10-30 22:14:26 +02:00
Folkert
29e7853b85 use phi node in elem_loop 2021-10-30 22:05:43 +02:00
Folkert
44e8fbc203 construct tag in alloca (to eventually pass them by pointer) 2021-10-30 22:05:22 +02:00
Dan Gieschen Knutson
02117ba512
Merge branch 'trunk' into str_trim 2021-10-27 18:01:29 -05:00
Folkert
d561f2661d speedups 2021-10-27 00:01:21 +02:00
Dan Knutson
e7523ad41d add Roc wiring 2021-10-25 20:22:37 -05:00
Folkert
1d1bd3d051 working, but generates more code 2021-10-22 14:54:15 +02:00
Folkert
2ff3a97ada re-implement roc returning by pointer 2021-10-22 13:24:18 +02:00
Folkert
171c0836e4 return tag unions by pointer 2021-10-22 13:18:31 +02:00
Folkert
28b15cdf67 prettier 2021-10-22 13:17:07 +02:00
Folkert
7d1bd0ffe7 make refcount take tag union by reference 2021-10-22 13:17:07 +02:00
Folkert
e73ac60053 improve Tag literal generation 2021-10-22 13:17:07 +02:00
Folkert
ad9f0b0609 clippy 2021-10-22 13:07:45 +02:00
Folkert
da3787feb8 Merge remote-tracking branch 'origin/trunk' into remove-call-result-again 2021-10-22 12:57:36 +02:00
Folkert
10b9307ab6 centralize calling roc functions in llvm 2021-10-22 12:56:58 +02:00
Folkert
e6edfda9a5 refactor call to roc function 2021-10-22 12:32:37 +02:00
Folkert
83de4b55ef remove another instance of RocCallResult 2021-10-22 12:26:04 +02:00
Folkert
0a12ce896f Revert "make list inc/dec non-recursive (except when freeing the list)"
This reverts commit 19eadbfe70.
2021-10-21 20:28:32 +02:00
Folkert
03144f978f Revert "clippy"
This reverts commit 7773cf9b4d.
2021-10-21 20:28:18 +02:00
Folkert
dd38d49335 fix formatting 2021-10-20 19:44:26 +02:00
Folkert
76e26e47f3 more cleanup 2021-10-20 17:05:59 +02:00
Folkert
7735ca21ea cleanup 2021-10-20 17:03:55 +02:00
Folkert
f8dec9453b make things static again 2021-10-20 16:58:25 +02:00
Folkert
63b1aaad4e hook up polymorphic zig builtins 2021-10-20 16:43:39 +02:00
Folkert
ab34c2a55e generalize all number intrinsics 2021-10-20 16:21:57 +02:00
Folkert
9fc832d8ef new intrinsic approach 2021-10-20 15:18:02 +02:00
Folkert
bd98ac6dc7 Merge remote-tracking branch 'origin/trunk' into divTruncate 2021-10-19 23:36:03 +02:00
Folkert
78c49d3095 support intrinsics/builtins for more integer types 2021-10-19 21:41:38 +02:00
Folkert
031c7cc2e2 Merge remote-tracking branch 'origin/trunk' into mono-lowlevel 2021-10-18 11:11:04 +02:00
Folkert
6cc8f8624c a way forward 2021-10-18 11:09:38 +02:00
Richard Feldman
6e0341890d
Merge pull request #1786 from rtfeldman/list-non-recursive-rc
make list inc/dec non-recursive (except when freeing the list)
2021-10-17 18:13:24 -04:00
Folkert
dbf650f7ab fixes 2021-10-17 21:14:30 +02:00
Folkert
a4f7ddb1f5 rename 2021-10-17 20:45:49 +02:00
Folkert
f236ae0a6a cleanup 2021-10-17 19:38:12 +02:00
Folkert
4152519bfb formatting & catch zig overflow error 2021-10-17 18:03:40 +02:00
Chelsea Troy
0cc6e44d35
Thread through the divCeil implementation from Zig:
+ OPEN QUESTION: Evidently the Zig implementation can throw an overflow error. Do we want to do something in Roc to fix this?
2021-10-17 10:46:16 -05:00
Folkert
9763f9b51b WIP 2021-10-17 16:08:41 +02:00
Folkert
7773cf9b4d clippy 2021-10-14 20:12:43 +02:00