Commit graph

242 commits

Author SHA1 Message Date
Folkert
42d065af45 move List.join to zig 2021-04-25 21:43:15 +02:00
Folkert
870adb20a8 use decref to deallocate RocStr in zig code 2021-04-14 16:53:36 +02:00
Richard Feldman
04aa9f4faa Synchronize walkBackwards with walk 2021-04-11 12:10:45 -04:00
Folkert
0575c01f41 Revert "use FixedBufferAllocator in builtins"
This reverts commit 0c2da8686a.
2021-04-05 00:46:27 +02:00
Folkert
044f653fda Revert "buggy copied version"
This reverts commit 858f19f5f5.
2021-04-05 00:45:41 +02:00
Folkert
858f19f5f5 buggy copied version 2021-04-05 00:45:34 +02:00
Folkert
0c2da8686a use FixedBufferAllocator in builtins 2021-04-04 22:01:22 +02:00
Folkert
4c9accb2ba use in-place swap for List.reverse 2021-04-04 21:42:02 +02:00
Richard Feldman
62e87dc970
Merge branch 'trunk' into builtin-sortby 2021-04-03 20:30:14 -04:00
Folkert
c168f2751d cleanup 2021-04-04 00:26:41 +02:00
Folkert
73cb826a98 fix calling conventions 2021-04-03 23:26:28 +02:00
Folkert
220c8b1a73 no-allocation swap 2021-04-03 21:20:38 +02:00
Folkert
e78fa99030 working version 2021-04-03 20:35:00 +02:00
Eric Henry
26edc70bca quicksort broken 2021-04-03 12:28:06 -04:00
Eric Henry
ac001598e8 setup before zig work 2021-04-03 11:28:36 -04:00
rvcas
22d8659215 feat(bitcode): implement the unique case for List.reverse 2021-04-03 08:10:11 -04:00
rvcas
17b39fa1ce feat(bitcode/list): implement listReverse 2021-04-02 02:00:46 -04:00
Folkert
f2c144f58c Merge remote-tracking branch 'origin/can-builtins-simplify' into list-range 2021-03-31 11:34:32 +02:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
1dd8c25e12 implement walk until 2021-03-29 20:54:38 +02:00
Folkert
1302ee296f refactor list walking 2021-03-29 16:32:43 +02:00
rvcas
181958f284 fix(List): i in list.zig needs to be reset 2021-03-09 19:50:01 -05:00
rvcas
bebd96674b fix(List): export map3 from main.zig 2021-03-08 21:18:22 -05:00
rvcas
9fc572ace9 fix(List): map3 ref count use dec_c on third list 2021-03-08 21:14:15 -05:00
rvcas
268ab82410 feat(List): add map3 2021-03-08 21:12:19 -05:00
Richard Feldman
1211fa93f7
Merge pull request #1049 from rtfeldman/map2
List.map2
2021-03-05 22:55:12 -05:00
Folkert
0bc4d2c514 implement logic in zig 2021-03-04 15:41:03 +01:00
Folkert
baef33fc0c llvm bindings
map the lowlevel op into LLVM code; it calls zig code, but the zig code does not do anything yet
2021-03-04 14:54:41 +01:00
Folkert
d4bff7bcdc fix List.walkBackwards logic 2021-03-03 23:14:23 +01:00
Folkert
ca8c23e448 fix up zig code 2021-03-03 20:05:50 +01:00
Folkert
9873eb358b write List.append in zig 2021-03-03 15:29:22 +01:00
Folkert
134f8a15e9 fix zig tests 2021-02-24 22:26:18 +01:00
Folkert
3537fa57d2 decrement when the input is invalid utf8 2021-02-24 21:46:58 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00
Folkert
9116e9e8c9 add Str.toBytes 2021-02-21 19:52:32 +01:00
Folkert
57b78dde06 Merge remote-tracking branch 'origin/trunk' into str-fromUtf8 2021-02-21 15:25:36 +01:00
Folkert
48dee993d0 stop aliasing in dictWalk 2021-02-20 04:25:21 +01:00
Folkert
903c0d8dec enable valgrind for AStar 2021-02-19 19:42:11 +01:00
Folkert
a2a31cb962 reuse allocateWithRefcount in str 2021-02-19 19:26:29 +01:00
Folkert
9473a332db clippy 2021-02-19 19:22:05 +01:00
Folkert
17fddaf0dd refcount details of builtins 2021-02-19 17:13:09 +01:00
Folkert
9faf84be16 correct RC for List.repeat, List.keepIf, List.keepOks 2021-02-19 01:08:33 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
3be7df1cac fix tests 2021-02-17 22:56:37 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
a3d0dc2fc3 move bitcode support functions around 2021-02-17 21:52:19 +01:00
Folkert
619749c954 use generic function to define the stepper wrapper 2021-02-17 21:16:00 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
7aceb8dc70 List.keepIf in zig 2021-02-17 16:45:21 +01:00