Folkert
|
437498b7ac
|
list decrement must use capacity, not length
|
2023-01-14 13:14:37 +01:00 |
|
Folkert
|
148d24662e
|
use capacity instead of length in decref
|
2023-01-08 22:01:35 +01:00 |
|
Richard Feldman
|
ccbd6ad593
|
Merge pull request #4838 from roc-lang/more-str-docs
Minor `Str` improvements
|
2022-12-31 01:58:50 -05:00 |
|
Richard Feldman
|
d4baf0ab37
|
Rename a constant
|
2022-12-29 20:48:30 -05:00 |
|
Folkert
|
6e2e5600df
|
conditional compilation fix
|
2022-12-29 16:50:22 +01:00 |
|
Folkert
|
a2c760aa56
|
keep conditional compilation local
|
2022-12-29 16:50:20 +01:00 |
|
Ayaz
|
db86b874e1
|
Merge pull request #4830 from roc-lang/list-concat-memory-leak
fix memory leak in List.concat
|
2022-12-28 23:23:05 -06:00 |
|
Folkert
|
05e23f8c5c
|
decref owned but empty list in List.concat
|
2022-12-29 00:13:24 +01:00 |
|
Folkert
|
2dfa7d6ef1
|
fix memory leak in List.concat
|
2022-12-28 22:52:32 +01:00 |
|
Richard Feldman
|
8606faa9db
|
Move builtin module-level docs to the top
|
2022-12-26 23:57:27 -05:00 |
|
Richard Feldman
|
5e3d808a61
|
roc format
|
2022-12-24 22:32:15 -05:00 |
|
Richard Feldman
|
39f60be377
|
Add builtins/main.roc for docs generation
|
2022-12-24 22:32:14 -05:00 |
|
Richard Feldman
|
4452b06b6d
|
Fix some builtin docs
|
2022-12-24 22:32:14 -05:00 |
|
Folkert de Vries
|
3682e7db6c
|
Merge pull request #4796 from roc-lang/str-rc-fixes
fix missing decref in split and concat
|
2022-12-22 12:00:53 +01:00 |
|
Folkert
|
1481aea40c
|
fix missing decref in split and concat
|
2022-12-22 01:08:31 +01:00 |
|
Folkert
|
6c7d434f81
|
fix lifetime issue in RocStr.asU8Ptr
|
2022-12-21 01:43:38 +01:00 |
|
Folkert de Vries
|
a18197347b
|
Merge pull request #4767 from roc-lang/wasm_interp_repl_test
Replace Wasmer with roc_wasm_interp
|
2022-12-18 20:44:58 +01:00 |
|
Folkert
|
1d260530fb
|
print a prettier command string
|
2022-12-17 22:21:00 +01:00 |
|
Folkert
|
a522d49558
|
backport some changes needed for zig 10
|
2022-12-17 22:17:27 +01:00 |
|
Brian Carroll
|
62269bf6c9
|
builtins: build the Wasm interpreter from inside run-wasm-tests.sh
|
2022-12-16 16:05:00 +00:00 |
|
Brian Carroll
|
d389601035
|
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_test_gen
|
2022-12-16 14:50:09 +00:00 |
|
Folkert
|
d287eafa3a
|
remove F128
|
2022-12-14 23:28:38 +01:00 |
|
Brian Carroll
|
f55fbaad12
|
builtins: use roc_wasm_interp for Zig wasm tests
|
2022-12-14 12:09:31 +00:00 |
|
Brian Carroll
|
01d0c5fabc
|
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_test_gen
|
2022-12-14 11:15:42 +00:00 |
|
Brian Carroll
|
8c7d9dbff8
|
wasm_interp: Make ValueStack a dumb Vec<Value> => Zig test 146.3->124.6ms
|
2022-12-09 23:20:50 +00:00 |
|
Richard Feldman
|
4583985f33
|
Use a better List.range example for step
|
2022-12-09 09:08:38 -05:00 |
|
Richard Feldman
|
7d8b9b2323
|
Fix List.range type annotation bug
|
2022-12-09 06:53:10 -05:00 |
|
Folkert de Vries
|
234f9f54cd
|
Merge pull request #4714 from roc-lang/expect-dbg-atomics
use atomics for expect/dbg
|
2022-12-09 09:21:13 +01:00 |
|
Folkert
|
95fe9cbccd
|
pass the pointer to shared memory around, instead of using a global
|
2022-12-08 23:22:26 +01:00 |
|
Richard Feldman
|
5958f50728
|
Drop obsolete mentions of roc_send_signal
|
2022-12-08 06:36:12 -05:00 |
|
Richard Feldman
|
5cfa6d8e12
|
Expand List.range docs
|
2022-12-08 05:56:53 -05:00 |
|
Richard Feldman
|
da5d0bd815
|
Merge pull request #4686 from roc-lang/list-range
Switch to more expressive list.range
|
2022-12-08 02:51:42 -05:00 |
|
Folkert
|
3bae4145d9
|
do expect/dbg with atomics
|
2022-12-08 00:41:20 +01:00 |
|
Ayaz
|
36eaed31e3
|
Merge pull request #4701 from roc-lang/i4697
Fix concat of non-unique list with unique list
|
2022-12-06 15:08:54 -06:00 |
|
Ayaz Hafiz
|
4df83d67ea
|
use copyBackwards when copying overlapping items in non-unique.unique concat
`mem.copy` requires that `dest` has start index `<= src`, but in our
case, `dest` has start index `>= src`. For this, `copyBackwards` should
be used.
See https://github.com/ziglang/zig/blob/master/lib/std/mem.zig#L195-L222.
Closes #4697
|
2022-12-06 12:58:04 -06:00 |
|
Ayaz Hafiz
|
a549176886
|
Add reproduction of failing unique concat bug
|
2022-12-06 12:57:32 -06:00 |
|
Brendan Hansknecht
|
6dd51039f0
|
add simple test that nat keys compile
|
2022-12-05 16:09:17 -08:00 |
|
Brendan Hansknecht
|
6aec9cf058
|
add the ability to hash Nats
|
2022-12-05 16:00:56 -08:00 |
|
Brendan Hansknecht
|
a5cb441d73
|
fix builtin formatting
|
2022-12-04 16:13:38 -08:00 |
|
Brendan Hansknecht
|
a5efc1f179
|
switch to more expressive list.range
|
2022-12-04 16:04:17 -08:00 |
|
Brendan Hansknecht
|
ab6c652360
|
manually do 128 bit multiplication to avoid bitshift and fix wasm tests
|
2022-12-03 13:17:36 -08:00 |
|
Brendan Hansknecht
|
ae58623f70
|
use crash to clearify unreachable state
|
2022-12-03 13:17:36 -08:00 |
|
Brendan Hansknecht
|
b4b18cda5a
|
fix formatting
|
2022-12-03 13:17:35 -08:00 |
|
Brendan Hansknecht
|
ac2380f6c8
|
swap based on dataIndex not raw hash map index
|
2022-12-03 13:17:35 -08:00 |
|
Brendan Hansknecht
|
8a30615a20
|
fix swap remove ordering
|
2022-12-03 13:17:35 -08:00 |
|
Brendan Hansknecht
|
4befccc6b4
|
expand Set test cases
|
2022-12-03 13:17:35 -08:00 |
|
Brendan Hansknecht
|
cad7d8b4e9
|
add walkUntil and use it to implement set equality
|
2022-12-03 13:17:35 -08:00 |
|
Brendan Hansknecht
|
28835d5bf3
|
some bug fixes
|
2022-12-03 13:17:34 -08:00 |
|
Brendan Hansknecht
|
4fc0dd9dd9
|
add a some tests and bug fixes
|
2022-12-03 13:17:34 -08:00 |
|
Brendan Hansknecht
|
02824e92fe
|
add Set implementation
|
2022-12-03 13:17:34 -08:00 |
|