Commit graph

9078 commits

Author SHA1 Message Date
Jasper Woudenberg
1ab8fd55a9
Add extra documentation around glue 2024-10-20 20:31:11 +02:00
Stuart Hinson
3739023f2a
fix typo in Dict.update docs
`Err` branch fix

Signed-off-by: Stuart Hinson <stuart.hinson@gmail.com>
2024-10-15 13:19:36 -04:00
Anton-4
837dc7b7cc
Merge pull request #7154 from DavidEdwards1/allow-check-on-markdown
Initial Sketch of roc check on Markdown
2024-10-15 13:54:09 +02:00
Anton-4
734a4e4504
clean up dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:54:52 +02:00
Anton-4
e73484d282
improve names
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:53:56 +02:00
Ayaz
f8a6d894fa
Merge pull request #7166 from svcxc/rocdec-traits
Implement Default/PartialOrd/Ord for RocDec
2024-10-14 09:55:58 -04:00
svcxc
b7ec1f143b
Implemented Default, PartialOrd, and Ord for RocDec 2024-10-14 14:50:53 +02:00
David Edwards
94ad57dcfa
Read file line by line rather than all at once 2024-10-13 21:33:41 +01:00
dependabot[bot]
d034633b9f
Bump cookie and express in /crates/compiler/checkmate/www
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 22:04:06 +00:00
Richard Feldman
beda934868
Merge pull request #7156 from roc-lang/soa
Make Subs use a more generic `soa` implementation
2024-10-12 18:03:00 -04:00
Brendan Hansknecht
5646f829dc
Merge pull request #7146 from HajagosNorbert/hajagosnorbert/neg_int
gen_dev-x86_64 extend Num.neg to all Signed and Unsigned int sizes
2024-10-11 08:57:46 -07:00
Richard Feldman
8fda63e137
Remove unused dependency 2024-10-10 00:53:39 -04:00
Richard Feldman
526b6d85fb
Deprecate collections/soa 2024-10-10 00:30:37 -04:00
Richard Feldman
2567c8b545
Convert over Subs to use the new soa crate 2024-10-10 00:30:35 -04:00
Richard Feldman
586959780b
Revert "Try out converting subs to use soa stuff directly"
This reverts commit 4a7d7e42d6.
2024-10-10 00:06:25 -04:00
Richard Feldman
4a7d7e42d6
Try out converting subs to use soa stuff directly 2024-10-10 00:06:22 -04:00
Richard Feldman
be0f1223eb
Update soa 2024-10-10 00:05:55 -04:00
Richard Feldman
ece46a28d0
Add soa crate 2024-10-09 23:58:42 -04:00
David Edwards
13ffa9b9db
Initial Sketch of roc check on Markdown
This commit alters `roc check` to be able to run on Markdown files. The overall flow is:
 - check if the file has a `.md` extension
  - if it does extract any fenced code blocks marked as Roc
  - write those blocks to temp files
  - run `roc check` sequentially on every temp file
  - print out the results of `roc check`
  - exit early if any individual `roc check` has non-zero exit status
 - if the file does not have `.md` extension proceed as before
2024-10-09 21:13:45 +01:00
Luke Boswell
0271f2eeb2
Merge pull request #7151 from hrishisd/deprecate-old-str-interpolation
Remove deprecated string interpolation syntax #7148
2024-10-09 11:21:18 +11:00
hrishisd
cb98c45e88
Remove deprecated string interpolation syntax 2024-10-08 16:31:22 -04:00
Brendan Hansknecht
7ae5242c1b
fix syntax snapshot tests 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
21e370f41f
minor formatting fixes 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
9da9c08015
make the test more robust and actually run it 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
e6a149642d
minor fix 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
5b8b781bad
remove single entrypoint 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
3c232446d9
add a test for multiple expose and fix naming 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
a9d1327dd1
Enable multiple functions exposed to the host 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
c61b7bf2a6
Remove requires type from the provides field 2024-10-07 21:16:30 -07:00
Brendan Hansknecht
bdb6651c13
Enable parsing multiple signitures for requires header 2024-10-07 21:16:30 -07:00
Norbert Hajagos
72863daa7e
gen_dev-x86_64 extend Num.neg to all Signed and Unsigned int sizes 2024-10-07 23:43:58 +02:00
Anton-4
d35da49330
Merge branch 'main' into link-to-operators-tutorial 2024-10-07 14:03:58 +02:00
Omar Jatoi
7ba54cd91b
add missing comma 2024-10-03 13:32:41 -04:00
Omar Jatoi
820dccab99
no separate roc_cache_packages_dir() for wasm
since `roc_cache_packages_dir()` is essentially just calling `roc_cache_dir()` and joining with `PACKAGES_DIR_NAME`, we don’t need a separate implementation for the WebAssembly target since `roc_cache_dir()` already has a separate implementation
2024-10-03 13:06:01 -04:00
Omar Jatoi
3f318e2235
update existing calls to roc_cache_dir()
using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
2024-10-03 12:52:52 -04:00
Omar Jatoi
7c86cf026d
fix roc_cache_dir function
- roc_cache_dir() will return "~/.cache/roc"
- new function roc_cache_packages_dir() will return "~/.cache/roc/packages"
2024-10-03 12:51:26 -04:00
Luke Boswell
2c62f773ef
Merge pull request #7128 from roc-lang/fix-7103
Ignore final try suffix for annotated top-level defs
2024-10-02 21:02:17 +10:00
Anton-4
a24774c801
improve dylib error
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-02 11:38:34 +02:00
Anton-4
775bce294b
Merge pull request #7007 from roc-lang/str-dropping
Implement `Str.dropPrefix` and `Str.dropSuffix` builtins
2024-09-30 16:11:04 +02:00
Nathan Kramer
be4e3b5983
Suggest link to tutorial's operator desugaring table 2024-09-30 18:14:35 +10:00
Nathan Kramer
bc1023065c
Add Num.intCast documentation
Have added GPG signing to the commit
2024-09-30 14:09:23 +10:00
Luke Boswell
a4f83a940c
update mono tests 2024-09-29 16:29:15 +10:00
Luke Boswell
34a3fd9dec
update mono tests 2024-09-29 15:06:15 +10:00
Luke Boswell
81f007940c
fix test_gen gen_str tests 2024-09-29 14:43:20 +10:00
Luke Boswell
aec3af667d
use wrapping instead of saturaing subtraction 2024-09-29 14:38:06 +10:00
Luke Boswell
3fa9712d81
remove stray comment 2024-09-29 14:36:18 +10:00
Luke Boswell
760af4a04e
Merge remote-tracking branch 'remote/main' into str-dropping 2024-09-29 14:31:04 +10:00
Luke Boswell
afb247d4c3
ignore final suffix for annotated top-level defs 2024-09-29 10:57:18 +10:00
Luke Boswell
f1f7dddab7
remove old snap added by mistake in previous PR 2024-09-29 10:56:03 +10:00
dependabot[bot]
e6ec4253e2
Bump rollup from 2.79.1 to 2.79.2 in /crates/compiler/checkmate/www
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 05:19:30 +00:00