Richard Feldman
2347565bf0
Drop some debugging code
2023-03-16 19:22:44 -04:00
Folkert de Vries
7bba18797a
Merge pull request #5147 from roc-lang/misc-fuzz-bugs
...
Misc seamless slice bugs
2023-03-16 23:45:52 +01:00
Seth Workman
efebf54011
added copy button to tutorial code blocks
2023-03-16 16:38:30 -05:00
dankeyy
8e40725d25
fix comments
2023-03-16 22:28:44 +02:00
dankeyy
35560efc0a
reorganize, simplify build, multiple methods WIP
2023-03-16 22:24:29 +02:00
Brendan Hansknecht
ba804cc382
clippy
2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it
2023-03-16 12:12:28 -07:00
Brendan Hansknecht
2a6c82c937
fix bug where we don't decrement elements if the list is non-unique
2023-03-16 12:12:28 -07:00
Brendan Hansknecht
a955a4937c
misc list refcounting updates
2023-03-16 12:12:28 -07:00
Brendan Hansknecht
ce29c7e92f
fix bugs from recent changes and additions
2023-03-16 12:12:27 -07:00
Brendan Hansknecht
c1b8f468d7
Merge pull request #5145 from roc-lang/str-excess-capacity
...
add Str.releaseExcessCapacity
2023-03-16 18:41:49 +00:00
Richard Feldman
15e0f416d0
Call Roc from Node
2023-03-16 10:29:01 -04:00
Richard Feldman
f80e839061
Split out node and wasm in typescript-interop
2023-03-16 08:51:06 -04:00
Richard Feldman
ca900550a2
Add roc code to ts-interop example
2023-03-16 08:31:26 -04:00
Richard Feldman
7ce4d3b22f
Add examples/typescript-interop
2023-03-16 08:20:23 -04:00
Brendan Hansknecht
00a3d7b259
update mono tests
2023-03-15 16:44:02 -07:00
Brendan Hansknecht
48f17a8e2c
add Str.releaseExcessCapacity
2023-03-15 15:24:59 -07:00
Brendan Hansknecht
a80b25d044
Merge pull request #5142 from roc-lang/seamless-slices-str
...
Seamless slices str
2023-03-15 21:56:19 +00:00
Folkert
8b00e071ab
fix wrong field name in wasm helpers
2023-03-15 22:17:23 +01:00
Brendan Hansknecht
b8e42b05a2
misc cleanup
2023-03-15 13:25:45 -07:00
Brendan Hansknecht
8d5a182f83
fmt
2023-03-15 13:25:45 -07:00
Brendan Hansknecht
dbead004c5
clippy
2023-03-15 13:25:45 -07:00
Brendan Hansknecht
782411cfcb
correct passing str to sub function
2023-03-15 13:25:44 -07:00
Brendan Hansknecht
19039ea5bd
fix edge cases
2023-03-15 13:25:44 -07:00
Brendan Hansknecht
3dd16d2114
fix pushing to alloca
2023-03-15 13:25:44 -07:00
Brendan Hansknecht
70eef9141f
port string functions to seamless slices
2023-03-15 13:25:40 -07:00
Brendan Hansknecht
8f96295ab1
fix wasm test loading of seamless slices
2023-03-15 13:23:35 -07:00
Brendan Hansknecht
18e6dbd163
fix roc_std to support seamless str slices
2023-03-15 13:23:34 -07:00
Brendan Hansknecht
3978059aa2
add seamless slices for str
2023-03-15 13:23:34 -07:00
Brendan Hansknecht
24c403eba0
Merge pull request #5139 from roc-lang/validate-unicode
...
Add a fast path for validating ASCII charcters
2023-03-15 19:31:57 +00:00
Brendan Hansknecht
0f708d7577
fix accessing bug
2023-03-15 10:06:31 -07:00
Brendan Hansknecht
88a69a23a8
fix type to work on 32bit platforms
2023-03-15 10:06:31 -07:00
Brendan Hansknecht
7f3c67ade9
use isValidUnicode in fromUtf8 to make it faster. Also fix off by one bug.
2023-03-15 10:06:31 -07:00
Brendan Hansknecht
f6677f3c1f
Add a fast path for validating ASCII charcters
...
From my quick testing using the code for testing this function in zig standard lib:
small ascii: 2.2x
small unicode: 0.9x
medium ascii: 15x
medium unicode: 1.01x
medium mix: 3.25x
large ascii: 32.8x
large unicode: 1.03x
large mixed: 3.35x
small being less than 8 bytes.
large being roughly greater than 512 bytes.
2023-03-15 10:06:31 -07:00
Anton-4
2023770ce7
Merge pull request #5134 from lukewilliamboswell/docs
...
Add documentation for `Set` and minor fixes
2023-03-15 11:40:06 +01:00
Luke Boswell
239f79d26f
roc format
2023-03-15 21:17:54 +11:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen
2023-03-15 20:59:58 +11:00
Luke Boswell
dd0fdd5d74
roc format
2023-03-15 18:54:46 +11:00
Luke Boswell
2241b173bf
return markdown headings to preserve structure
2023-03-15 18:30:44 +11:00
Luke Boswell
90dd31aaca
update mono
2023-03-15 18:24:16 +11:00
Luke Boswell
ba1d8755e0
Merge remote-tracking branch 'remote/main' into docs
2023-03-15 18:20:52 +11:00
Luke Boswell
91604f8be6
return structure using <h2> elements, fix css
2023-03-15 18:19:33 +11:00
Luke Boswell
ca2158edbb
simplify Set examples
2023-03-15 18:12:17 +11:00
Luke Boswell
5dde76c4ba
modify examples
2023-03-15 18:09:59 +11:00
Luke Boswell
ef0de4c72f
merge builtin-json
2023-03-15 18:07:01 +11:00
Luke Boswell
1fe56bcefb
adds docs for Json
2023-03-15 16:30:39 +11:00
Brendan Hansknecht
ae42144c72
Merge pull request #5135 from roc-lang/no-editor-by-default
...
don't build editor for CLI by default
2023-03-15 05:16:51 +00:00
Luke Boswell
d8d3d252f1
fix empty list test
2023-03-15 09:56:33 +11:00
Anton-4
1f92508c55
clippy
2023-03-14 19:17:36 +01:00
Anton-4
0605639fa8
fix editor test
2023-03-14 18:24:30 +01:00