Commit Graph

4906 Commits

Author SHA1 Message Date
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
Luke Boswell
d8d3d252f1
fix empty list test 2023-03-15 09:56:33 +11:00
Luke Boswell
28951a7a16
spellcheck 2023-03-14 19:39:53 +11:00
Luke Boswell
d2bb434092
roc format 2023-03-14 18:36:12 +11:00
Luke Boswell
213111ca55
minor doc fixes, add docs for Set 2023-03-14 18:33:59 +11:00
Brendan Hansknecht
9e2a36f1d4
update mono 2023-03-13 18:03:05 -07:00
Brendan Hansknecht
1319ba4844
add List.releaseExcessCapacity builtin 2023-03-13 17:43:21 -07:00
Brendan Hansknecht
b94a046b0d
make sure to check raw capacity when decrementing refcounts 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
5d87ba3441
remove outdated performance comments 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
dfb748fb03
misc cleanup + change refcount pointer to avoid branching 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
216fd3f9f6
Update typo in comment
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Signed-off-by: Brendan Hansknecht <Brendan.Hansknecht@gmail.com>
2023-03-13 14:08:24 -07:00
Brendan Hansknecht
5f6910f747
add todo about upgrading to bit manipulation 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
26f5d558d8
update wasm to load capacity correctly 2023-03-13 14:08:24 -07:00
Brendan Hansknecht
f96a63c1d4
correct case for zig naming 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
401f525846
update roc_std for seamless slices 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
f9274e575b
update list decref to know about seamless slices 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
146dff5446
add llvm refcounting and fix memory leak 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
7a927b6192
Port fromUtf8 to fromUtf8Range
All roc file calls already use fromUtf8Range.
Removed the duplicate function for simplicity.
Inlining should lead to generating the same code.
2023-03-13 14:08:23 -07:00
Brendan Hansknecht
cda37a5d1b
use seamless slices for List.dropAt when possible 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
4ced1bcfdd
add baseline of seamless slices 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name 2023-03-13 14:08:23 -07:00
Brendan Hansknecht
440c0518f1
Change list.deinit to take alignment directly
In doing so remove the many class directly to utils.decref
2023-03-13 14:08:22 -07:00
Folkert de Vries
0a3b2e25a1
Merge pull request #5109 from thehabbos007/dev-x86-dbg
Add debug section to the `gen_dev` crate readme
2023-03-13 21:27:51 +01:00
Anton-4
5acc2ea3a2
Merge pull request #5127 from roc-lang/editor-launch-fix
fix `Arg::allow_invalid_utf8` clap error
2023-03-13 11:42:34 +01:00
Ahmad Sattar
cda3073efe
Add debug section to the gen_dev crate readme 2023-03-13 11:00:58 +01:00
Luke Boswell
0b054e8b47
Merge pull request #5126 from roc-lang/docs-spacing
Increase spacing between docs entries
2023-03-13 16:21:01 +11:00
Brendan Hansknecht
1c0b001897
run roc format 2023-03-12 08:53:11 -07:00
Brendan Hansknecht
85306953e9
update mono 2023-03-12 08:42:37 -07:00
Brendan Hansknecht
e6964536b2
add more Num.bytesTo* functions 2023-03-12 08:41:05 -07:00
Brendan Hansknecht
785da377c8
add Num.count*Bits functions 2023-03-12 08:41:04 -07:00
Anton-4
9164f7e3d2
fmt 2023-03-12 15:59:31 +01:00
Anton-4
4737a5c01e
fix clap error
https://roc.zulipchat.com/#narrow/stream/257722-editor/topic/error.20when.20starting.20on.20macOS/near/339884894
2023-03-12 15:50:59 +01:00
Anton-4
fbaa257cef
Merge pull request #5118 from roc-lang/mess-with-build
Make building and CI faster
2023-03-12 14:35:34 +01:00
Richard Feldman
cc88437182
Increase spacing between docs entries
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-03-12 09:07:42 -04:00
Brendan Hansknecht
13245e1bb3
remove missed file that is unused 2023-03-12 00:19:06 -08:00
Brendan Hansknecht
0f0213b75e
build wasm tests with lto to avoid needing more wasm interp 2023-03-12 00:18:53 -08:00
Luke Boswell
2d0bed5634
formatting 2023-03-12 17:11:35 +11:00
Luke Boswell
182689d083
Merge remote-tracking branch 'remote/main' into docs 2023-03-12 17:08:07 +11:00
Luke Boswell
1e26769313
add support for @,_,* tokens 2023-03-12 17:01:05 +11:00
Luke Boswell
5a0a7289ba
update styles for docs 2023-03-12 16:44:05 +11:00
Richard Feldman
512b9361bf
Merge pull request #5077 from lukewilliamboswell/builtin-json
JSON decoder improvements
2023-03-11 15:28:07 -05:00
Brendan Hansknecht
df8cc231eb
rustfmt 2023-03-10 13:57:11 -08:00
Brendan Hansknecht
cb191d3788
Split utils into error and command utils
Error utils pulls in snafu which requires procedural macros.
This means it can't start compiling until syn and macro related crates are compiled.
This deals compiling all crates that depend on commands like running zig for the bitcode.
The split enables those crates to run sooner.
2023-03-10 09:39:43 -08:00
Brendan Hansknecht
d5e191d083
split up bitcode building to reduce dependency chains 2023-03-10 09:39:43 -08:00
Anton-4
49196ad032
fixing CI releated issues 2023-03-10 15:31:46 +01:00
Anton-4
e2bd3cfc8b
forgotten code fence
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-03-10 11:32:12 +01:00
Luke Boswell
766385a561
make colors WCAG AA compliant 2023-03-10 13:27:43 +11:00
Luke Boswell
b1e73dc8ef
add highlighting to tutorial inline snippets 2023-03-10 13:07:50 +11:00
Luke Boswell
2bed7da218
improve token categories and color scheme 2023-03-10 11:38:42 +11:00