Commit graph

10282 commits

Author SHA1 Message Date
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
Anton-4
f5dc4f6371
wrong main 2025-04-04 20:01:46 +02:00
Anton-4
dd11c2cf9c
llm docs improvements (#7726) 2025-04-04 18:37:46 +02:00
Anton-4
cf18ab75dd
better linker tip (#7721)
better error msg

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-03-31 19:57:30 +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
Olof
28418a36bf
stop recommending old lambda syntax 2025-03-17 13:23:34 +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
Luke Boswell
7259ab460c
typos 2025-02-22 13:02:28 +11: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
Anton-4
eb03ec77e0
Merge pull request #7477 from kukimik/patch-4
Mark :target entry using border
2025-02-05 11:40:38 +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
8c8b9418ee
Merge pull request #7560 from joshuawarner32/fix-pnc-apply-question-movement
Suppress TrySuffix movement around PncApply unless --migrate is passed
2025-01-30 20:26:49 -08:00
Jan
bf8399ca53
Update reference to nonexistent Encode.unsignedInt8 2025-01-30 07:27:30 -07: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
Anton-4
f4a981f8eb
added test 2025-01-28 17:49:46 +01:00
J Teeuwissen
4579d61eb4
Fixed drop specialization for join point bodies 2025-01-28 17:26:24 +01:00
Anton-4
0e35e33f85
Merge pull request #7553 from smores56/new-hosted-header
Upgrade hosted header in the style module header
2025-01-28 10:57:55 +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
snobee
0ddf12e323
Remove handling of suffix closures 2025-01-27 13:50:46 -08:00
Luke Boswell
1f26ce04d0
Merge pull request #7506 from svcxc/main
Add documentation for glue shape memory layouts
2025-01-28 07:42:38 +11: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
snobee
84f9f35835
Move imports to top of file 2025-01-21 17:11:52 -08:00