Commit graph

842 commits

Author SHA1 Message Date
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
Chadtech
72009b1276 Comment in now passing test 2020-11-21 14:15:58 -05:00
Folkert
898a140f64 Merge remote-tracking branch 'origin/trunk' into str-split-small-str 2020-11-20 15:58:13 +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
b6d46bb6f9 add another failing test case 2020-11-17 02:30:59 +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
Chad Stearns
797b5a3053 Extra count graphemes test for three Js 2020-11-16 15:45:53 -05:00
Chad Stearns
222d56f67b Use ROC_STR_MEM_SIZE in more tests 2020-11-16 04:33:01 -05:00
Chad Stearns
d0aaf9c47f Use ROC_STR_MEM_SIZE in more tests 2020-11-16 03:07:10 -05:00
Chad Stearns
1b2022ab5c Isolate 20 char delimiter test 2020-11-16 02:54:20 -05:00
Chad Stearns
a3720e6c3d Fixed algorithm problem in Str.split, that would drop the final str in the return list if it was empty 2020-11-16 02:04:55 -05:00
Chad Stearns
7b488d0970 Applied ROC_STR_MEM_SIZE to more tests 2020-11-15 23:22:13 -05:00
Chad Stearns
d3da25131c In small_str test helper function, dont use the hard coded value of 16, use the actual size of the RocStr memory footprint 2020-11-15 21:36:16 -05:00
Folkert
93b6315f46 fix pattern match test ordering problem 2020-11-16 02:18:18 +01:00
Chad Stearns
2bc1e73042 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split-small-str 2020-11-15 19:25:09 -05:00
Chad Stearns
1c9851ec4e Comment in newly working tests, comment out new tests that should work but dont 2020-11-15 19:24:35 -05: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
Folkert
a952d24370 comment another test 2020-11-15 03:03:52 +01:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Folkert
d55b1a2e87 add tests 2020-11-15 02:14:12 +01: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
c046a72e85 A few more commented out and failing Str.split tests 2020-11-13 01:25:27 -05:00
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00