Commit graph

8089 commits

Author SHA1 Message Date
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
Jonathan Schear
f511c061ab
Add blank line to test_load for Docs 2024-03-24 14:34:40 -04:00
Jonathan Schear
ab4a5343a0
Update tests 2024-03-24 14:31:34 -04:00
Jonathan Schear
723c390f52
Treat two hash marks followed by text as a doc comment 2024-03-24 14:31:27 -04:00
Trevor Settles
aa3a7c2ab0
combined error and sucdcess examples 2024-03-24 11:03:12 -06:00
dependabot[bot]
da7627abb1
Bump webpack-dev-middleware in /crates/compiler/checkmate/www
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 18:41:48 +00:00
Luke Boswell
4920ef8e7d
regenerate test snapshot 2024-03-22 20:44:35 +11:00
Luke Boswell
370ac1e6b8
move suffixed parsing into chomp_identifier_chain 2024-03-22 19:22:05 +11:00
Richard Feldman
d988eadbb1
Merge pull request #6598 from roc-lang/desugar-bang
De-sugar bang `!` for `Defs` nodes
2024-03-21 07:14:01 -04:00
Luke Boswell
4035221dac
desugar no args correctly e.g. Stdin.line! 2024-03-21 19:25:34 +11:00
Luke Boswell
5e2fc1c3fd
handle suffixed after pizza |> 2024-03-21 18:04:52 +11:00
Luke Boswell
a983ab8341
use CalledVia::BangSuffix 2024-03-21 15:51:21 +11:00
Luke Boswell
a394f1b4cf
update from review comments 2024-03-21 15:46:14 +11:00
Trevor Settles
fedc0f5dfb
removed and linted unused example imports 2024-03-19 20:47:44 -06:00
Luke Boswell
e74501981e
fmt and clippy fixes 2024-03-20 12:31:04 +11:00
Luke Boswell
cc10df6db9
handle Suffixed is in the middle of our Defs 2024-03-20 11:48:08 +11:00
Luke Boswell
248c2a3f34
handle only one def that is Suffixed 2024-03-20 09:57:48 +11:00
Luke Boswell
c4b459b436
handle Suffixed in first index 2024-03-20 09:49:12 +11:00
Luke Boswell
d6a01b3014
WIP stuck on removing Defs 2024-03-19 16:03:29 +11:00
Richard Feldman
ad78e04012
Merge pull request #6585 from roc-lang/infer-lowlevel-caller-borrow-signature
infer for a proc whether it is OK to pass an argument as borrowed
2024-03-18 22:24:29 -04:00
Luke Boswell
406ffdffab
WIP partial implementation for desugar_defs_node_suffixed 2024-03-19 12:57:30 +11:00
Richard Feldman
9d5f6cd417
Merge pull request #6584 from roc-lang/lowleve-borrow-signature-static
make the lowlevel borrow signature have a static lifetime
2024-03-18 13:37:08 -04:00
Luke Boswell
3b2e9e36b8
rename operator.rs to desugar.rs 2024-03-17 15:57:27 +11:00
Trevor Settles
949b3f83bd
Merge branch 'main' of https://github.com/rtfeldman/roc into parser-docs 2024-03-16 15:02:49 -06:00
Trevor Settles
5660de93e0
removed one_of_with_error 2024-03-16 15:02:09 -06:00
Richard Feldman
14ba398b5d
Merge pull request #6569 from faldor20/docs
Add docs to completions and hover
2024-03-16 11:22:58 -04:00
Anton-4
ad4fa6a4d7
fix spelling 2024-03-16 14:44:36 +01:00
Anton-4
3fadcf7bcb
style changes 2024-03-16 14:41:08 +01:00
Trevor Settles
6d64bbb65a
Merge branch 'main' into parser-docs 2024-03-15 18:14:56 -06:00