Luke Boswell
b010e8caba
desugar suffixed If-Then-Else expression
2024-04-14 13:45:02 +10:00
Luke Boswell
d08a51b134
cargo fmt
2024-04-14 13:45:02 +10:00
Luke Boswell
69a3a3c477
cleanup
2024-04-14 13:45:02 +10:00
Luke Boswell
584d41f621
fix !
bug for Record and Tuple Access
2024-04-14 13:45:02 +10:00
Luke Boswell
a28cd251ab
spelling
2024-04-14 13:45:01 +10:00
Luke Boswell
5ae188c08f
cleanup
2024-04-14 13:45:01 +10:00
Luke Boswell
b8ec53738a
fix desugar for suffixed nodes
2024-04-14 13:45:01 +10:00
Luke Boswell
fac52f7408
parse statements correctly
2024-04-14 13:45:01 +10:00
Luke Boswell
ba22527e29
WIP parse statements correctly
2024-04-14 13:45:01 +10:00
Luke Boswell
997284e113
parse suffixed statements as defs
2024-04-14 13:45:00 +10:00
Luke Boswell
3c3e523b45
add suffixed to Identifer and QualifiedIdentifier
2024-04-14 13:45:00 +10:00
Luke Boswell
0a3b9c34b3
add suffixed:u8 to Expr::Var
2024-04-14 13:45:00 +10:00
Luke Boswell
a418bf4fb8
add is_loc_expr_suffixed helper
2024-04-14 13:45:00 +10:00
Luke Boswell
73b60113ff
fix for suffixed without arguments
2024-04-14 13:45:00 +10:00
Luke Boswell
56d91ce74c
support multiline suffixed statements
2024-04-14 13:45:00 +10:00
Luke Boswell
cfa7490b86
Pattern::Stmt cannot be malformed
2024-04-14 13:44:59 +10:00
Luke Boswell
a5df0aa1c2
implement equivalent for Pattern::Stmt
2024-04-14 13:44:59 +10:00
Luke Boswell
42fdcb7ff1
Make unit assignment optional for suffixed defs
2024-04-14 13:44:59 +10:00
Anton-4
8f71844c3e
fix example, update mono
2024-04-13 14:26:17 +02:00
Anton-4
e4e1d7116c
update to basic-cli 0.9.0
2024-04-13 12:28:16 +02:00
Anton-4
46daccef62
rust 1.73.0 -> 1.74.1
2024-04-12 17:16:09 +02:00
Anton-4
2df6f5cb72
Merge remote-tracking branch 'upstream/main' into optional-decoding-works
2024-04-12 16:05:50 +02:00
Anton-4
3d2a5897e5
roc_bitcode false positive
2024-04-09 20:01:33 +02:00
Anton-4
f085b96f78
removed unused deps, added CI test
2024-04-09 19:47:31 +02:00
Anton-4
e85cbdce75
minor improvements
2024-04-08 19:40:06 +02:00
Anton-4
83904ec62b
Merge pull request #6591 from FabHof/dec-float-decoding-builtins
...
Add builtins for dec and float
2024-04-08 13:24:31 +02:00
faldor20
612fa4c75a
refactor to combine params
2024-04-08 16:06:50 +10:00
Anton-4
e6e708360c
1.72.1->1.73.0
2024-04-06 15:38:14 +02:00
Anton-4
bb38721eaf
zig host target native->x86_64-native
2024-04-06 13:51:53 +02:00
Richard Feldman
ec64da3416
Merge pull request #6627 from roc-lang/default-value-record
...
Change docs/errors from "optional" to "default value" record fields
2024-04-04 22:25:45 -04:00
Brendan Hansknecht
482c084096
Change docs/errors from "optional" to "default value" record fields
...
I strongly believe that seeing the word "optional" is priming people wrong when it comes to this feature.
Especially given roc dose not have an `Optional/Option/Maybe` type, so users look for an alternative and find this.
This PR changes the name to "default value record fields".
It updates all docs and errors.
It does not update compiler internal naming.
That can be updated in a follow up PR if we want to, but I am also fine leaving it cause it is not exposed to users.
2024-04-03 08:55:35 -07:00
Luke Boswell
ca01913ab3
add EExpr error for unexpected comma
2024-04-02 20:48:13 +11:00
faldor20
384bf7ca5b
comments
2024-04-02 11:21:38 +10:00
faldor20
892d264304
explicitly match errors
2024-04-02 11:16:02 +10:00
faldor20
f330e9aa29
roc format
2024-04-02 10:00:25 +10:00
faldor20
017efc84ae
re-combine
2024-04-02 09:56:58 +10:00
Fabian Schmalzried
4066d56b24
fix clippy errors
2024-04-02 00:04:59 +02:00
Fabian Schmalzried
313a3d37e6
move finctions
2024-04-01 21:08:17 +02:00
Fabian Schmalzried
376202c6e8
fix from parts
2024-04-01 21:08:16 +02:00
Fabian Schmalzried
9a91597b27
Windows to parts
2024-04-01 21:08:16 +02:00
Fabian Schmalzried
a1bd36812d
fix for llvm-wasm
2024-04-01 21:08:15 +02:00
Fabian Schmalzried
4586147ee8
fix test-mono
2024-04-01 21:08:15 +02:00
Anton-4
ae2506469c
added comment
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-04-01 21:08:15 +02:00
Fabian Schmalzried
609a8091c4
remve unused import
2024-04-01 21:08:14 +02:00
Fabian Schmalzried
546cb17fb9
cut high bits for to large fraction an exponent
2024-04-01 21:08:14 +02:00
Fabian Schmalzried
834015a758
From parts works with llvm
2024-04-01 21:08:13 +02:00
Fabian Schmalzried
e697064ae3
XtoParts works in llvm
...
TODO: celanup
2024-04-01 21:08:13 +02:00
Anton-4
35a26eb39f
fix typos, WIP on NumF32ToParts
2024-04-01 21:08:12 +02:00
Fabian Schmalzried
6786fd45c0
add tests
2024-04-01 21:08:12 +02:00
Fabian Schmalzried
4269608ebf
remove i128OfDec
2024-04-01 21:08:12 +02:00