Commit graph

7549 commits

Author SHA1 Message Date
Richard Feldman
366fff28a3
Dodge typo checker complaining about "nd" 2025-06-29 10:49:25 -04:00
Anton-4
bb36be5e94
refcount perf fix (#7884)
refcount perf fix?
2025-06-27 18:51:41 +02:00
Anton-4
78c836efd3
Fix roc check non-main file (#7870)
525589537
Closes #7127 #7429 #6835

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-06-27 14:34:34 +02:00
Anton-4
20c39a006f
Link to thesis (#7847)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-06-20 17:22:24 +02:00
Anton-4
3db296648f
fix undefined behavior warning (#7835)
Fixed a warning that shows when using rust 1.87
2025-06-17 15:37:59 +02:00
Anton-4
c93e27ca9a
added List.keep_if_try! (#7804)
* added keep_if_try!

* cleanup types

* cleanup var name
2025-05-21 14:12:24 -05:00
Anton-4
a27feb309a
Remove run anyway tip (#7782) 2025-05-12 17:51:58 +02:00
Anton-4
fac7041d11
Update tip to parens syntax (#7771)
* Update to parens syntax

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* update snapshots

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-05-02 15:18:35 +02:00
Anton-4
882577bebc
added map_try! + walk_try! test (#7770)
* map_try! + walk_try! test

* update mono tests
2025-04-29 22:05:12 +02:00
Anton-4
875a4cc623
improve abilities error msg (#7761)
improve error msg
2025-04-25 17:46:24 +02:00
Lars Frogner
560171c238
Add Num.[f32,f64,dec]_[to,from]_bits builtins and deprecate Num.[f32,f64]_[to,from]_parts (#7741)
* Add `Num.[f32,f64,dec]_[to,from]_bits` builtins

* Update mono tests

* Deprecate `Num.[f32,f64]_[to,from]_parts`
2025-04-18 10:10:45 +02:00
dependabot[bot]
5c9aa7aaca
Bump http-proxy-middleware from 2.0.6 to 2.0.9 in /crates/compiler/checkmate/www (#7746)
Bump http-proxy-middleware in /crates/compiler/checkmate/www

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 20:03:43 +02:00
Anton-4
1570a3df10
Add Str.len stub (#7732)
* Add Str.len stub

* mono update
2025-04-09 12:19:34 +02:00
Joshua Warner
6d22c4dd7c
Several migration fixes and make some zig parser improvements based on migrated code in the wild (#7716) 2025-04-08 13:46:44 +02:00
Olof Blomqvist
53e127da27
Merge branch 'main' into main 2025-04-08 00:33:06 +02:00
Brendan Hansknecht
a2b4f64c6e
always use atomic refcounting 2025-03-26 20:46:13 -07:00
Brendan Hansknecht
c21cf9b8d6
switch roc to atomic refcounts 2025-03-26 20:38:34 -07:00
Anton-4
e9690c9bce
Lowercased some files (#7713) 2025-03-24 16:43:18 +01:00
Olof Blomqvist
dc8ee0e5ce
remove arrows 2025-03-19 07:26:14 +01:00
Olof
1630b1fceb
fix failing test i forgot in last commit 2025-03-18 13:48:44 +01:00
Luke Boswell
634dfb1972
don't change the old builtins 2025-03-10 17:14:06 +11:00
Luke Boswell
35cd1e8dd9
fix fuzz crash ty_anno_unexpected_token, handle EOF more gracefully 2025-03-10 09:09:47 +11:00
Anton-4
8c87280ea7
fix nix problem ld-linux-aarch64.so.1 (#7655)
* fix nix problem linux aarch64

* more reliable rust install

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

* fix copy paste

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>

---------

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-03 19:36:28 +01:00
cancaicai
bc2acb3dd0
test/rust: add missing escaped chars
Signed-off-by: cancaicai <2356672992@qq.com>
2025-02-18 21:17:50 +08:00
Joshua Warner
86325e2d2f
Merge pull request #7619 from joshuawarner32/migrate-braces
Implement a migration to new braces syntax and add migrate tests
2025-02-17 15:17:40 -08:00
Joshua Warner
109cb93b20
Implement a migration to new braces syntax and add migrate tests 2025-02-16 20:37:28 -08:00
cancaicai
8c9de7c7ab
parser/rust: improve word method comments and examples
Signed-off-by: cancaicai <2356672992@qq.com>
2025-02-16 21:13:39 +08:00
Luke Boswell
25b076b945
Merge pull request #7569 from joshuawarner32/zig-tokenizer
Implement initial roc tokenizer in zig
2025-02-06 11:07:42 +11:00
Jan
68e524e110
snake_case-ify all remaining camelCase names in hiding (#7561)
* Snake-case-ify def names in comments

* Snake-case-ify def names in strings

* Snake-case-ify ignored function parameters

* Snake-case-ify test script names, for consistency

* Update CI snapshot to match snake_case

* snake case correction

---------

Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-05 16:05:03 +01:00
Joshua Warner
ce8f7065db
Implement initial roc tokenizer in zig 2025-02-04 21:40:51 -08:00
Sam Mohr
670d255060
Merge pull request #7130 from snobee/annotate-type-signatures
Automatic annotation of type signatures
2025-01-31 11:46:12 -05:00
Joshua Warner
0107d6b9c4
Suppress TrySuffix movement around PncApply unless --migrate is passed
This is currently causing a bunch of fuzzing noise in main. Also added a comment to clarify this behavior is intended to be short-lived.
2025-01-29 21:37:39 -08:00
Anthony Bullard
eb9d1bcf09
Format apply funcs with try suffix correctly 2025-01-28 21:00:30 -06:00
Anton-4
05a5eaf124
update mono 2025-01-28 18:16:00 +01:00
J Teeuwissen
4579d61eb4
Fixed drop specialization for join point bodies 2025-01-28 17:26:24 +01:00
snobee
4f7729c044
Merge remote-tracking branch 'upstream' into annotate-type-signatures 2025-01-27 14:21:24 -08:00
snobee
46736ccaea
Handle errors in generated type annotations 2025-01-27 13:50:53 -08:00
Sam Mohr
631e59ce06
Upgrade hosted header in the style module header 2025-01-26 15:07:57 -08:00
Richard Feldman
3e4a3027e6
Have Str examples not use static dispatch (yet!)
This syntax doesn't exist yet, but we can revert this once it does! 😄

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:51:03 -05:00
Richard Feldman
aea54808e5
Clarify some Str docs
More minor tweaks to make the examples a bit more obvious.

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:45:41 -05:00
Richard Feldman
e7d80358f4
More Str docs improvements
Noticed a couple more!

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:43:51 -05:00
Richard Feldman
f361117ea5
Tweak some Str documentation
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:39:40 -05:00
Sam Mohr
c7da4f714e
Merge branch 'main' into fix-pnc-try 2025-01-25 05:46:29 -08:00
Sam Mohr
1aff18d47c
Fix PNC + ? suffix interaction 2025-01-25 05:41:59 -08:00
Sam Mohr
cf1cfefadb
Merge pull request #7543 from HajagosNorbert/ascii
add with_ascii_uppercased and caseless_ascii_equals to Str
2025-01-24 10:58:22 -08:00
Norbert Hajagos
4fd013eee8
remove unnecesarry capacity check within Str equals 2025-01-24 16:23:14 +01:00
Anton-4
60fcb6089d
link to issue 2025-01-24 15:27:34 +01:00
Norbert Hajagos
fc0a9ec4cf
add with_ascii_uppercased and caseless_ascii_equals to Str 2025-01-23 15:21:11 +01:00
shua
d67d94b15c
merge wasm_str tests into gen_str
This change merges the wasm_str.rs and gen_str.rs tests.
Any tests that could be run on all three backends now are, in addition some
tests were added that just fail whenever some unimplemented things get implemented
so the implementer will be forced to start testing the new code.
2025-01-22 22:59:43 +01:00
shua
063dfc37be
Merge branch 'main' into fromutf-roc 2025-01-21 19:13:18 +01:00