Commit graph

962 commits

Author SHA1 Message Date
Sam Mohr
0733863a81
Prefer false-interpreter for ? desugaring example 2024-08-14 23:23:45 -07:00
Sam Mohr
4870f56a18
Update args.roc test to use ? sugar 2024-08-14 22:21:53 -07:00
Luke Boswell
29289694b5
restore one test 2024-08-15 14:34:00 +10:00
Sam Mohr
550baded7f
Merge branch 'main' into rebuild-platform 2024-08-14 19:39:30 -07:00
Luke Boswell
3662c90346
WIP get things compiling... hacks everywhere beware 2024-08-15 11:50:10 +10:00
Luke Boswell
0a813be3ee
upgrade new cli test to zig 13 2024-08-15 08:10:36 +10:00
Luke Boswell
57b277da5c
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-08-15 07:11:29 +10:00
Sam Mohr
7e72541a79 Merge branch 'main' into builtin-task 2024-08-12 23:12:38 -07:00
Joshua Warner
2d9aa00771
Rename RemoveSpaces->Normalize 2024-08-12 23:05:55 -07:00
Luke Boswell
3ebff4348f
Merge pull request #6979 from roc-lang/fix-target-arg-unknown
make target an argument for preprocess-host
2024-08-12 17:21:26 +10:00
Joshua Warner
0abea91796
Rename Full -> FullAst 2024-08-10 16:06:01 -07:00
Anton-4
439ebcddce
make target an argument 2024-08-10 14:31:29 +02:00
Joshua Warner
d25c048d48
Move Full from fmt to parse and reorganize confusingly-named Module ast type 2024-08-07 23:01:49 -07:00
Sam Mohr
698bbc3cf1
Merge pull request #6968 from smores56/ignored-record-builder-fields
Ignore underscore-prefixed fields in record builders
2024-08-06 23:36:27 -07:00
Sam Mohr
cb8040f629
Ignore underscore-prefixed fields in record builders 2024-08-06 22:49:35 -07:00
Luke Boswell
8596db2055
fix test 2024-08-07 08:51:08 +10:00
Agus Zubiaga
7027547182
Load platform dependencies
We were dropping packages from the platform header while loading.

Closes #6931
2024-08-06 18:15:28 -03:00
Luke Boswell
0c184fb166
don't link -lc when building zig wasm hosts 2024-08-05 12:18:41 +10:00
Luke Boswell
f28ddea805
fix cfg for target-wasm32 cli tests 2024-08-05 10:16:36 +10:00
Luke Boswell
b4ec32126f
fix zig hosts ensure they export main 2024-08-04 21:12:09 +10:00
Luke Boswell
cfbcfd1707
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-08-04 13:08:37 +10:00
Sam Mohr
8288af3156
Merge branch 'main' into builtin-task 2024-07-31 13:36:32 -07:00
Anton-4
d23426ac47
Merge pull request #6941 from roc-lang/improve-tip
improve opaque types tip
2024-07-31 13:48:51 +02:00
Luke Boswell
96db1bdce2
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-07-31 14:01:50 +10:00
Anton-4
30a76a092b
improve opaque types tip 2024-07-30 16:06:23 +02:00
Luke Boswell
eca453d07f
Merge remote-tracking branch 'remote/main' into builtin-task 2024-07-29 16:05:51 +10:00
Luke Boswell
164243821f
update cli test zig platform to zig 13 2024-07-28 15:55:38 +10:00
Luke Boswell
697bdb9262
WIP add script for zig platforms glue source 2024-07-28 15:55:38 +10:00
Joshua Warner
4f32f43048
Implement block / indent based parsing
... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
2024-07-27 13:34:16 -07:00
Ryan Barth
bc29782420
checkpoint: Run struct refactor for helpers 2024-07-22 04:07:58 -07:00
Luke Boswell
7ba44a5cd0
remove gui and swift examples 2024-07-21 19:50:04 +10:00
Luke Boswell
b489c44b19
Merge remote-tracking branch 'remote/main' into builtin-task 2024-07-19 19:51:50 +10:00
Anton-4
3a36d84c45
update to basic-cli 0.12 2024-07-10 20:07:03 +02:00
Luke Boswell
f515311915
clippy fix 2024-07-09 15:47:56 +10:00
Luke Boswell
287d00df85
remove gen_stub_lib 2024-07-09 15:24:24 +10:00
Luke Boswell
85447ec2cc
replace stray strings with impl on Target 2024-07-09 14:39:36 +10:00
Luke Boswell
dc0902bc92
WIP
WIP

WIP

WIP

ignore some cli tests that are going to move

try fix for linux valgrind tests

try a legacy host for valgrind

fix roc_glue tests
2024-07-09 13:48:09 +10:00
Sam Mohr
618b713ecd
Merge branch 'main' into new-builder-syntax 2024-07-07 18:33:36 -07:00
Sam Mohr
fe1b6d71fc
Update from PR comments 2024-07-07 18:33:20 -07:00
Richard Feldman
595695af23
Merge pull request #6869 from roc-lang/fs
Add no_std fs
2024-07-07 18:47:24 -04:00
Ayaz Hafiz
0e52a7e069
Make sure FunctionKind is determined in all entry points
There are a lot of entry points for a Roc program. They should probably
be all consolidated into one, but for now, when FunctionKind is needed,
determine it from the environment. This fixes EXPERIMENTAL_ROC_ERASE for
`roc test` etc.

Also print the location of a failure when `internal_error!` is called. I
think this should panic instead, and I thought it used to - does anyone
know if that changed?
2024-07-07 16:01:14 -05:00
Anton-4
1bcf30391b
Merge pull request #6819 from roc-lang/rust-1-77-2-upgrade
Rust 1.77.2 upgrade
2024-07-06 03:23:54 +02:00
Richard Feldman
6932b3f8f2
Fix Windows with_tempfile 2024-07-04 19:50:01 -04:00
Richard Feldman
5bf2c11bea
Fix some unused warnings on Windows tests 2024-07-04 19:34:53 -04:00
Sam Mohr
f61b303a59
Merge branch 'main' into builtin-task 2024-07-03 00:42:48 -07:00
Luke Boswell
f69d39dffc
Merge pull request #6808 from roc-lang/process-host
Update preprocess host API
2024-07-03 10:23:44 +10:00
Ryan Barth
720ed2a457
fix: calculate windows dll symbols from prebuilt shared library 2024-06-30 22:56:14 -07:00
Luke Boswell
ca0ebe613d
Merge pull request #6842 from JackoCoolio/fix-dev-exit-code
Make `roc dev someFile.roc` forward exit status
2024-06-28 10:16:45 +10:00
Luke Boswell
ee84b61360
update preprocess host API 2024-06-28 09:12:45 +10:00
Sam Mohr
cd488300fd
Merge branch 'main' into builtin-task 2024-06-26 03:17:56 -07:00