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
|
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 |
|
Folkert
|
411a265024
|
remove bitcast in Str.fromFloat
|
2021-02-16 00:56:44 +01:00 |
|
Folkert
|
49ca8f3e86
|
add Set.fromList
|
2021-02-16 00:51:23 +01:00 |
|
Folkert
|
13b2c23c01
|
working AStar
|
2021-02-15 21:34:55 +01:00 |
|
Jared Ramirez
|
2159d94b87
|
Zig fmt
|
2021-02-14 19:00:56 -08:00 |
|
Brendan Hansknecht
|
7d24d51392
|
gen_dev: generate and link zig builtins.
|
2021-02-14 18:15:00 -08:00 |
|
Folkert
|
57e8d5b4c3
|
implement Set inclusion functions
|
2021-02-14 23:57:35 +01:00 |
|
Folkert
|
1256327caa
|
dict walk
|
2021-02-14 21:16:42 +01:00 |
|
Folkert
|
39c4353554
|
add difference
|
2021-02-14 20:01:24 +01:00 |
|
Folkert
|
02db8f1a05
|
union and intersection
|
2021-02-14 19:55:01 +01:00 |
|
Folkert
|
87ce5d9dd8
|
remove dict test
|
2021-02-14 16:24:26 +01:00 |
|
Folkert
|
02e161f839
|
add dict tests with string keys/values
|
2021-02-14 15:49:40 +01:00 |
|
Folkert
|
89821a83af
|
use nicer casting method
|
2021-02-14 15:05:58 +01:00 |
|
Folkert
|
62d0bc62ce
|
deallocate dict when it becomes empty
|
2021-02-14 14:49:01 +01:00 |
|
Folkert
|
67aaaf4623
|
remove some dead code
|
2021-02-14 03:44:00 +01:00 |
|
Folkert
|
210bd18fe3
|
implement decref, fuse RC operations
|
2021-02-14 03:16:11 +01:00 |
|
Folkert
|
c9e2958947
|
add refcount check
|
2021-02-14 00:42:42 +01:00 |
|
Folkert
|
27c3a7c8f2
|
only refcount filled cells
|
2021-02-14 00:33:07 +01:00 |
|
Folkert
|
49bba11e06
|
refactor findIndex and insert
|
2021-02-14 00:25:44 +01:00 |
|
Folkert
|
b2e626ab0c
|
Dict.insert WIP
|
2021-02-13 23:32:01 +01:00 |
|
Folkert
|
63b4d1dd65
|
don't reset slots when making unique
|
2021-02-13 19:42:35 +01:00 |
|
Folkert
|
e9f2d9d608
|
work on refcount
|
2021-02-13 16:41:13 +01:00 |
|