Sam Mohr
97ab13e11b
Merge pull request #7362 from normanjaeckel/FixMissingNewline
...
Add missing newline to roc check command.
2024-12-17 18:53:03 -08:00
Anton-4
c89dccb6f4
Merge pull request #7386 from roc-lang/examples-and-testing
...
fix nightly testing + updates
2024-12-17 20:18:50 +01:00
Anton-4
17960d1154
fix nightly testing + updates
2024-12-17 14:17:21 +01:00
Sam Mohr
dbc59f7c7c
Merge branch 'main' into FixMissingNewline
2024-12-16 20:23:25 -08:00
Brendan Hansknecht
b9269be242
deal with c abi annoyances
2024-12-16 14:38:38 -08:00
Brendan Hansknecht
edd1da7a47
make valgrind happy
2024-12-16 14:38:38 -08:00
Brendan Hansknecht
3325b26490
disable flaky test
2024-12-16 14:38:38 -08:00
Brendan Hansknecht
af8d657ce2
remove stale comment
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
f73000dd24
add in manually drop
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
5cb6cf5586
fix calling conv
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
01e0bef5cc
switch back to env::args
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
c98bf2c54d
cleanup false alg loading
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
1cbf7d96d9
get false interpretter test running again
2024-12-16 14:38:37 -08:00
Brendan Hansknecht
9ed3cda2dd
misc false improvements
2024-12-16 14:38:36 -08:00
Brendan Hansknecht
f51061b200
update false platform to purity inference
2024-12-16 14:38:36 -08:00
Sam Mohr
f9f72c0e99
Update snapshots to include newlines
2024-12-14 00:15:30 -08:00
Norman Jäckel
7cbea2f8fd
Add missing newline to roc check command.
2024-12-14 01:30:11 +01:00
Brendan Hansknecht
d74a3c0746
Merge remote-tracking branch 'origin/main' into upgrade-llvm-zig
2024-12-12 13:29:10 -08:00
faldor20
81f2095e61
basic working
...
compiling, but still missing positions from expression errors
2024-12-12 20:54:25 +10:00
Brendan Hansknecht
0a573ca557
Merge remote-tracking branch 'origin/main' into upgrade-llvm-zig
2024-12-11 16:38:34 -08:00
Brendan Hansknecht
37c6330c6f
cleanup when expects are run
2024-12-11 15:15:46 -08:00
Brendan Hansknecht
8068fa6d1b
still run in BinaryDev mode with roc main.roc
for expect messages
2024-12-11 14:56:12 -08:00
Brendan Hansknecht
76cb2b09cd
Stop ignoring --optimize
in roc --optimize main.roc
...
This is just inconvenient and does not make our api better.
Leads to users thinking that roc does not optimize well.
This also allows `roc dev --optimize` (which is the exact same as `roc --optimize`).
If a user wants to do that, it should be fine.
This will all eventually be replaced by the larger cli rewrite.
2024-12-10 08:51:28 -08:00
Sam Mohr
01f4d4f3da
Merge branch 'main' into cleanup_unused
2024-12-08 10:14:47 -08:00
Sam Mohr
193c23bac8
Merge pull request #7296 from smores56/proper-try-keyword
...
Proper `try` keyword
2024-12-05 01:38:22 -08:00
JRI98
90f517712a
Remove unused code
2024-12-05 09:18:52 +00:00
Joshua Warner
120e9be550
Move MigrationFlags from an argument on format* to a field on Buf
...
That has a few advantages:
* We avoid a bunch of extra parameter-passing "noise", since the vast majority of formatting code doesn't need to care about this setting beyond just passing it to nested format calls.
* It aligns really well with the "global" nature of this setting, and makes it impossible to have bugs where e.g. one callsite forgets to pass the correct value to it's children - which would lead to parts of the tree not being migrated. If this is truly a global setting on Buf, that simply can't happen.
2024-12-04 17:57:31 -08:00
Anton-4
7c1dffb777
minor improvements
2024-12-04 14:32:38 +01:00
Sam Mohr
eedade8e81
Initial working version of proper try
keyword
2024-12-04 02:31:59 -08:00
Anthony Bullard
a2083cec30
Parsing support for snake_case identifiers
...
In this initial commit, I have done the following:
- Added unit tests to roc_parse's ident.rs file to cover at least the
simplest Ident enum cases (Tag, OpaqueRef, and simple Access)
- Added '_' as a valid "rest" character in both uppercase and lowercase
identifier parts
- Updated the test_syntax snapshots appropriately
There is still a lot left to do here. Such as:
- Do we want to allow multiple '_'s to parse successfully?
- Handle qualified access
- Handle accessor functions
- Handle record update functions
- Remove the UnderscoreInMiddle case from BadIdent
- Write unit tests for Malformed Idents
I am not a "Rustacean" by any means, but have been through the Book in
years past. Any feedback on the way I wrote the tests or any other part
of the implementation would be very appreciated.
2024-12-03 20:50:47 -06:00
faldor20
f3f262574d
Check if a module is using purity inference and enable purity inference effects
2024-12-01 17:16:29 +10:00
Luke Boswell
656a7bcd87
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig
2024-11-30 10:18:11 +11:00
Richard Feldman
0e550a7f68
Merge pull request #7265 from roc-lang/workspace-deps
...
Update cargo dependencies to use workspace
2024-11-29 17:38:03 -05:00
Luke Boswell
e43b78b354
update to workspace deps for miscellaneous
2024-11-29 11:37:39 +11:00
Luke Boswell
8ad7ecdc10
replace cargo deps with workspace in roc_build
2024-11-29 10:40:20 +11:00
Luke Boswell
2feb5d3c2e
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig
2024-11-29 08:58:47 +11:00
Anton-4
3a1f52a55f
update to basic-cli 0.17.0
2024-11-28 20:16:07 +01:00
Anton-4
8e23f96fbd
nightly tests fixes
2024-11-19 11:41:50 +01:00
Isaac Van Doren
35f221d9de
Merge branch 'main' of https://github.com/roc-lang/roc into list-splitting
2024-11-15 21:12:51 -06:00
Isaac Van Doren
d99c347998
rename Str.split
2024-11-15 21:12:23 -06:00
Luke Boswell
0804758895
Merge pull request #6967 from jfkonecn/test-mulitple-files
...
Roc test can now support multiple files
2024-11-15 07:10:55 +11:00
Isaac Van Doren
f33a483502
merge main
2024-11-12 20:55:45 -06:00
Luke Boswell
29012f7d7e
Merge remote-tracking branch 'remote/main' into effectful-builtins
2024-11-13 10:39:08 +11:00
Luke Boswell
f8304477f6
use initialize_zig_test_platforms in all cli_tests
2024-11-13 09:32:28 +11:00
Luke Boswell
f4451722e8
Merge remote/main into upgrade branch
2024-11-13 09:02:37 +11:00
Luke Boswell
dc3aa06d61
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig
2024-11-13 09:02:20 +11:00
Luke Boswell
5c1eb7efe5
add a cli test that uses echo
2024-11-13 07:47:47 +11:00
Luke Boswell
4b4ab7bc0c
Merge remote-tracking branch 'remote/main' into record-suffix-warn-tweaks
2024-11-13 07:29:31 +11:00
Anton-4
9a3495cfae
minor cleanup
2024-11-12 19:16:20 +01:00
Luke Boswell
98bb9107b5
try unix instead of linux for ignore_attr
2024-11-12 09:37:04 +11:00