Commit graph

6636 commits

Author SHA1 Message Date
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
Anton-4
2b40aa90d4
forgot about 32 bit targets
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-30 17:46:27 +01:00
Anton-4
315fbeb75c
list len docs correction 2024-03-30 14:47:56 +01:00
Jonathan Schear
4553392af4
Merge branch 'main' into js/double_hash_is_a_doc_comment 2024-03-27 14:05:59 -04:00
Anton-4
16e7d5372f
Merge pull request #6608 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/express-4.19.2
Bump express from 4.18.2 to 4.19.2 in /crates/compiler/checkmate/www
2024-03-26 19:49:53 +01:00
Anton-4
30b5943b54
Merge pull request #6548 from roboteng/parser-docs
Parser docs examples
2024-03-26 19:35:39 +01:00
dependabot[bot]
0c170c7062
Bump express from 4.18.2 to 4.19.2 in /crates/compiler/checkmate/www
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 15:41:21 +00:00
Anton-4
59ab438c1e
misc improvements 2024-03-26 16:38:09 +01:00
Trevor Settles
ef68183a92
switched error then succeess cases 2024-03-24 20:13:58 -06:00
Jonathan Schear
61f3de4b8f
Run formatter 2024-03-24 18:33:57 -04:00
Trevor Settles
ab744a883a
combined examples and increased consistency 2024-03-24 15:13:31 -06:00