Commit graph

926 commits

Author SHA1 Message Date
Sam Mohr
8e5d875604
Merge branch 'main' into auto-snake-case 2025-01-08 01:51:12 -08:00
Luke Boswell
3e0c626bf6
Merge pull request #7401 from roc-lang/cleanup-examples
Cleanup Examples folder
2025-01-08 20:30:27 +11:00
Luke Boswell
ae9e244548
remove references to virtual-dom example 2025-01-08 15:55:05 +11:00
Luke Boswell
7e55990c55
try remove new unwrap 2025-01-08 14:07:53 +11:00
Luke Boswell
9c527f890f
enable --root-dir for roc docs 2025-01-08 13:43:42 +11:00
Luke Boswell
066f70f3ab
Merge remote-tracking branch 'remote/main' into cleanup-examples 2025-01-08 11:04:07 +11:00
Sam Mohr
7a2f8bfa71
Merge branch 'main' into auto-snake-case 2025-01-07 13:18:41 -08:00
Anton-4
6c09f5eed3
typo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-01-07 19:44:45 +01:00
Anton-4
4c33cb6686
fix cli_test effectful_form getting stuck 2025-01-07 14:30:38 +01:00
Luke Boswell
629fb3dc2f
Merge remote-tracking branch 'remote/main' into cleanup-examples 2025-01-06 09:40:13 +11:00
Sam Mohr
e737192d21
Missed formatting updates 2025-01-05 05:33:52 -08:00
Sam Mohr
865a399ba2
Merge branch 'main' into auto-snake-case 2025-01-05 05:28:30 -08:00
Sam Mohr
b56fbd38e1
Progress on updating entire compiler for snake_case 2025-01-05 03:48:03 -08:00
Brendan Hansknecht
07f930ca68
update benchmark platform to PI 2025-01-04 15:10:55 -08:00
Anthony Bullard
3b0db07fa1
PNC for Patterns, stabilize formatting 2025-01-02 17:57:15 -06:00
Anthony Bullard
389cc940e0
Git rid of MigrationFlags constructor 2025-01-02 16:49:08 -06:00
Anthony Bullard
af39ce57fb
Parens and Commas application syntax 2025-01-02 16:49:08 -06:00
Jakub Konka
d063d18795
cli: check for FLAG_VERBOSE in each command rather than in build(..) 2024-12-31 11:58:17 +01:00
Jakub Konka
4764b23282
cli: add --verbose flag to CMD_BUILD 2024-12-31 11:57:59 +01:00
Jakub Konka
2624def4cd linker: if support is WIP, use surgical only if explicit flag 2024-12-30 16:27:58 +01:00
Jakub Konka
a4165b3642 linker: introduce SupportLevel to designate completeness
If a linker is `SupportLevel::Full` it can safely be used as a
substitute for the legacy linker. If on the other hand, it's
`SupportLevel::None` then only legacy linker is a viable option.
The third new option is `SupportLevel::Wip` which will enable
surgical linker warning the user that it is a work-in-progress,
your mileage may vary, a lot.
2024-12-30 16:27:50 +01:00
Luke Boswell
eef68e3b42
move platform-switching into cli tests 2024-12-22 15:15:26 +11:00
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