Commit graph

5931 commits

Author SHA1 Message Date
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
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
Fabian Schmalzried
f145f73aa0
add tests for decimal point 2024-04-01 21:08:11 +02:00
Fabian Schmalzried
8f217aa51a
Better docs 2024-04-01 21:08:11 +02:00
Fabian Schmalzried
d6aaf96e74
wasm low level untestd 2024-04-01 21:08:10 +02:00
Fabian Schmalzried
21d6848176
format 2024-04-01 21:08:10 +02:00
Fabian Schmalzried
11998b9cc8
f32FromParts and f64FromParts for repl 2024-04-01 21:08:10 +02:00
Fabian Schmalzried
473b8ef2d3
f32/f64toParts in repl only 2024-04-01 21:08:09 +02:00
Fabian Schmalzried
64e9899cad
Add Num.withDecimalPoint 2024-04-01 21:08:09 +02:00
Fabian Schmalzried
9c664172dd
Add Num.withoutDecimalPoint 2024-04-01 21:08:09 +02:00
Anton-4
62cc19c64b
Merge pull request #6597 from jschear/js/double_hash_is_a_doc_comment
Add spaces to doc comments
2024-04-01 16:20:54 +02:00
Oskar Hahn
62e30fd7d0
Call cargo fmt --all 2024-04-01 12:52:56 +02:00
Oskar Hahn
aec618d5fc
Remove the .1 version libapp.so and the fileextension .1.0 2024-04-01 12:41:09 +02:00
Brendan Hansknecht
d66ce24dc3
Fix format change caused by doc changes
Introduces by anton's recent PR, just an extra space being removed.
2024-03-31 11:04:59 -07:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00