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
Luke Boswell
7283a17367
Merge remote-tracking branch 'remote/main' into docs-highlight
2023-03-10 10:15:15 +11:00
Luke Boswell
14085c71a3
remove commented out builtin code
2023-03-10 10:15:05 +11:00
Richard Feldman
47dd461a4a
Merge pull request #5048 from Arkham/improve-same-name-grammar
...
Use 'by accident' instead of 'on accident'
2023-03-08 11:26:48 -05:00
Anton-4
38ed9339b1
Merge branch 'main' into docs-highlight
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-03-08 15:51:03 +01:00
Anton-4
c1082686f8
Merge pull request #5108 from agu-z/fix-list-split-first-last-docs
...
Fix `List.splitFirst` and `List.splitLast` docs
2023-03-08 15:47:21 +01:00
Anton-4
3431d46573
adjust indent
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-03-08 14:50:10 +01:00
Anton-4
5bc4881c05
Merge remote-tracking branch 'upstream/main' into docs-highlight
2023-03-08 14:35:55 +01:00
Agus Zubiaga
7eedd62844
Fix List.splitFirst
and List.splitLast
docs
...
The examples in the docs appear to expect `List.splitFirst` to exclude occurrences of the delimiter in the `after` list:
```
List.splitFirst [Foo, Z, Bar, Z, Baz] Z == Ok { before: [Foo], after: [Bar, Baz] }
```
However, only the first occurrence of the delimiter in the `before` list. The `after` list contains everything after the first occurrence of the delimiter.
```
List.splitFirst [Foo, Z, Bar, Z, Baz] Z == Ok { before: [Foo], after: [Bar, Z, Baz] }
```
The same applies to `List.splitLast`
Signed-off-by: Agus Zubiaga <hi@aguz.me>
2023-03-08 10:18:42 -03:00
Luke Boswell
ae6f9067b6
fix Roc formatting
2023-03-08 18:11:49 +11:00
Luke Boswell
6e80b52d91
format and clippy
2023-03-08 17:33:49 +11:00
Luke Boswell
890f3db10a
update to support fenced code
2023-03-08 17:30:30 +11:00
Brendan Hansknecht
5e34621613
run cargo upgrade to update compatible version numbers
2023-03-07 12:39:43 -08:00
Anton-4
5e9c7b0621
fix metadata workspace, getrandom feature
2023-03-07 19:15:39 +01:00
Brendan Hansknecht
d41dd52b8d
revert glue fixtures Cargo.toml so it can be built standalone
2023-03-06 23:10:42 -08:00
Luke Boswell
a87794e7b2
Merge remote-tracking branch 'remote/main' into docs-highlight
2023-03-07 17:59:32 +11:00
Brendan Hansknecht
11cccde050
clippy
2023-03-06 21:02:47 -08:00
Brendan Hansknecht
75e996c445
remove unused dependencies and ignore false positives
2023-03-06 20:09:01 -08:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded
2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec
2023-03-06 16:36:18 -08:00
Brendan Hansknecht
915f2ec49a
remove outdated compiler/str library
2023-03-06 15:03:17 -08:00
Brendan Hansknecht
e7420d5b2c
update outdated deps that don't require code changes
2023-03-06 14:20:42 -08:00
Brendan Hansknecht
0ed262d318
add missed update to use workspace dep
2023-03-06 13:06:44 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track
2023-03-06 13:01:07 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package
2023-03-06 12:43:48 -08:00
Brendan Hansknecht
21af20597e
remove unused dependencies
2023-03-06 12:09:00 -08:00
Brendan Hansknecht
e1719b6fe2
Merge pull request #5092 from Aurelius333/aarch64-sub_reg64_reg64_reg64
...
Add sub_reg64_reg64_reg64 instruction for aarch64
2023-03-06 18:21:20 +00:00
Luke Boswell
ffcb91321e
clippy
2023-03-06 22:41:06 +11:00
Luke Boswell
25b3b61e07
cargo fmt
2023-03-06 22:37:56 +11:00
Luke Boswell
5ead576976
fix indentation for code blocks
2023-03-06 22:32:25 +11:00
Luke Boswell
5e40e580cb
update docs syntax highlighting, remove unsused code
2023-03-06 22:20:49 +11:00
Ayaz Hafiz
739bdfe64e
Fix a bug in chasing assigned/hole on switch
2023-03-05 22:19:16 -06:00
Ayaz Hafiz
7914b07a2f
Eliminate unneeded joinpoints in union lambda dispatches
2023-03-05 22:10:42 -06:00
Ayaz Hafiz
8e4de80aa9
Add test for enum lambda set elimination
2023-03-05 22:01:50 -06:00
Ayaz Hafiz
a2389c7652
Eliminate joinpoints in trivial lambda set switches
2023-03-05 21:59:01 -06:00
Ayaz Hafiz
7867ffb62b
Rename test
2023-03-05 21:47:06 -06:00
Ayaz Hafiz
9166922e39
Remove unused is_terminal
2023-03-05 21:41:50 -06:00
Ayaz Hafiz
fb5ac9fc6e
Check in failing reproduction for #5086
2023-03-05 21:40:10 -06:00
Folkert de Vries
f500e5dfb6
Merge pull request #5090 from joshuawarner32/add-operators
...
Produce combined tokens directly and add a few operators
2023-03-05 13:20:46 +01:00
Brendan Hansknecht
dc77916bb5
Merge pull request #5088 from roc-lang/reorg-build
...
move build_file and related functions to roc_build
2023-03-05 12:18:35 +00:00
Ajai Nelson
0b2567cf26
Add sub_reg64_reg64_reg64 instruction for aarch64
2023-03-05 02:10:39 -05:00
Joshua Warner
2dfe373311
Produce combined tokens directly and add a few operators
...
This (I believe) brings us in line with the complete set of operators supported in Roc.
2023-03-04 21:42:33 -08:00
Brendan Hansknecht
9894f52afd
update missed uses of roc_cli::build
2023-03-04 10:19:26 -08:00