Commit graph

951 commits

Author SHA1 Message Date
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00
Richard Feldman
5eee74f209
Merge pull request #726 from rtfeldman/llvm-dce
DCE zig builtins
2020-11-22 22:13:10 -05:00
Folkert
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Folkert
2f1ca9decf cleanup 2020-11-21 22:54:57 +01:00
Folkert
8013af7e97 change representation of list/str 2020-11-21 22:50:33 +01:00
Folkert
52772df2c3 improve list allocation 2020-11-21 22:50:31 +01:00
Pit Capitain
2dee43a3ca Fix llvm debug info errors
*  create subprogram for {}_catcher
*  create subprogram for {}_size
*  don't create a second subprogram for {}_exposed
2020-11-19 22:46:37 +01:00
Folkert
e30893b66e round up alignment to ptr_bytes 2020-11-19 22:10:02 +01:00
Folkert
fd026ee9d8 clippy 2020-11-19 21:28:35 +01:00
Folkert
45c62dfa3c improve list allocation 2020-11-19 16:11:21 +01:00
Folkert
b61f5d02b9 refactor allocation 2020-11-19 16:09:23 +01:00
Folkert
5ce8a665f0 add finalize everywhere, and fix some oversights 2020-11-18 20:08:43 +01:00
Folkert
6f4585e7d8 add subprogram debug info 2020-11-18 19:24:49 +01:00
Folkert
4e7e196fe1 add function debug info helper 2020-11-17 20:34:29 +01:00
Folkert
7fcc05b0a4 add dibuilder 2020-11-17 20:26:07 +01:00
Folkert
b85f1e4128 add Safety docs to unsafe function 2020-11-17 20:01:38 +01:00
Folkert
9198638c23 allocate taking alignment into account 2020-11-17 20:01:38 +01:00
Folkert
e02cc3af2f use new decrement 2020-11-17 20:01:38 +01:00
Folkert
94a8d07fe7 use PointerToRefcount in == 1 comparison 2020-11-17 20:01:38 +01:00
Folkert
b2d1354373 use new increment 2020-11-17 20:01:38 +01:00
Folkert
64dd9cc1a9 improvements 2020-11-17 20:01:38 +01:00
Folkert
c007b39105 factor out refcounting operations 2020-11-17 20:01:38 +01:00
Richard Feldman
077ee4382f
Merge branch 'trunk' into recursive-tag-segfault 2020-11-16 22:46:20 -05:00
Folkert
c11d97f3e7 Merge remote-tracking branch 'origin/trunk' into recursive-tag-segfault 2020-11-17 02:52:13 +01:00
Folkert
8f49b1afaa re-enable RBTree.balance test 2020-11-17 02:13:40 +01:00
Folkert
8528e5affb upgrade inkwell 2020-11-17 01:58:30 +01:00
Richard Feldman
0ad3ffe35a
Merge branch 'trunk' into rvcas/list_sum 2020-11-15 12:13:46 -05:00
Richard Feldman
346248a7c0
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
2020-11-15 12:04:43 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Folkert
e2521c1011 Merge remote-tracking branch 'origin/trunk' into big-nested-pattern-match 2020-11-14 03:07:34 +01:00
Folkert
4b6eaca284 fix oversight 2020-11-14 03:07:18 +01:00
Folkert
0dde6da77d fix mono test 2020-11-14 03:00:20 +01:00
Folkert
154b5cc29f get RBTree.balance to compile 2020-11-14 02:49:28 +01:00
Folkert
b7f7de8afb fix issue in refcounting 2020-11-13 23:27:42 +01:00
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00
Folkert
70cba33fe4 fix bug in decision_tree 2020-11-13 01:39:39 +01:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
Folkert
0d51309eb9 fully qualify exposed symbols 2020-11-10 14:06:48 +01:00
Folkert
3f485b63d6 cleanup 2020-11-09 00:16:04 +01:00
Chad Stearns
b551ba0f0e Fix llvm name 2020-11-08 15:25:06 -05:00
Chad Stearns
58f0c48338 Str.split works for big str 2020-11-08 15:01:52 -05:00
Chad Stearns
481bca3b44 Pass in pointers into Str split in place bitcode function, not actual strs 2020-11-08 13:04:36 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Richard Feldman
6929c63bb8
Merge branch 'trunk' into add-pkg-config 2020-11-07 22:06:08 -05:00
Folkert
c20b40a7d2 fix zero-sized closures 2020-11-08 03:08:13 +01:00