Commit graph

234 commits

Author SHA1 Message Date
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
Folkert
3093fe9e18 Merge remote-tracking branch 'origin/dict-more' into zig-list 2021-02-17 16:19:36 +01:00
Folkert
2166b1355b check for empty key/value (not doing so caused problems for set) 2021-02-17 16:18:42 +01:00
Folkert
42c5662872 List.map in zig! 2021-02-17 15:38:55 +01:00
Anton-4
60edbaffee
Merge branch 'trunk' into dict-more 2021-02-17 14:52:48 +01:00
Folkert
821e750876 implement primitives 2021-02-17 14:08:59 +01:00
Folkert
b8b0156c7b factor out utils.zig 2021-02-17 13:56:40 +01:00
Brendan Hansknecht
798ac52dcf Merge remote-tracking branch 'origin' into gen_dev/zig_builtins 2021-02-15 23:52:23 -08:00
Folkert
a37913ff01 fix shadowing 2021-02-16 01:23:10 +01:00