Commit graph

6490 commits

Author SHA1 Message Date
Luke Boswell
57b277da5c
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-08-15 07:11:29 +10:00
Luke Boswell
2eb3e38b7f
Merge remote-tracking branch 'remote/main' into result-map-builtins 2024-08-14 17:26:10 +10:00
Luke Boswell
6bae15c467
resolve review comments 2024-08-14 17:24:12 +10:00
Luke Boswell
45f18bd64e
update mono snapshots 2024-08-14 13:17:52 +10:00
Luke Boswell
7aebee8c94
implement Result.mapBoth and Result.map2 builtins 2024-08-14 13:16:24 +10:00
Luke Boswell
a5ae2608ea
fix incorrect name from merge 2024-08-14 09:13:57 +10:00
Luke Boswell
5c43bd2cee
Merge remote-tracking branch 'remote/main' into rebuild-platform 2024-08-14 09:12:12 +10:00
Joshua Warner
2d9aa00771
Rename RemoveSpaces->Normalize 2024-08-12 23:05:55 -07:00
Joshua Warner
6835041a61
Normalize string encoding as part of RemoveSpaces 2024-08-12 23:05:45 -07:00
Agus Zubiaga
b451e69b20
Merge branch 'main' into typecheck-module-params 2024-08-12 22:27:16 -03:00
Joshua Warner
0abea91796
Rename Full -> FullAst 2024-08-10 16:06:01 -07: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
Agus Zubiaga
762799052e
Merge branch 'main' into typecheck-module-params 2024-08-07 18:55:33 -03: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
00bc699642
Add syntax tests for record builder 2024-08-06 22:49:35 -07:00
Sam Mohr
cb8040f629
Ignore underscore-prefixed fields in record builders 2024-08-06 22:49:35 -07: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
Anton-4
ed4e831347
fmt Num.roc 2024-08-05 11:55:53 +02:00
Luke Boswell
0c184fb166
don't link -lc when building zig wasm hosts 2024-08-05 12:18:41 +10:00
Luke Boswell
1750e8b833
remove stray comment 2024-08-05 10:49:07 +10:00
Luke Boswell
12e8710f4f
improve comment on llvm_passes 2024-08-05 10:36:59 +10:00
Luke Boswell
f28ddea805
fix cfg for target-wasm32 cli tests 2024-08-05 10:16:36 +10:00
Luke Boswell
53a1edb03a
format builtin 2024-08-04 21:32:44 +10:00
Luke Boswell
b4ec32126f
fix zig hosts ensure they export main 2024-08-04 21:12:09 +10:00
Luke Boswell
a4259e8d8e
disable stack probing on zig builtins 2024-08-04 19:42:06 +10:00
Luke Boswell
cfbcfd1707
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-08-04 13:08:37 +10:00
Brendan Hansknecht
93b7056ccc
update stacksave pointer name 2024-08-04 13:00:00 +10:00
Luke Boswell
1519e5f833
fix warnings from deprecated llvm ptr type 2024-08-04 12:52:44 +10:00
Luke Boswell
8090e99e75
cleanup llvm module optimisation passes 2024-08-04 12:13:01 +10:00
Anton-4
dd3d3810fb
added workaround
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-03 14:43:09 +02:00
Anton-4
fd8b7355f6
Num.neg docs
See also https://github.com/roc-lang/roc/issues/6959

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-03 14:37:00 +02:00
Anton-4
60ca8382a5
improve abilities error 2024-08-03 11:57:23 +02:00
Luke Boswell
2c05760aa5
add globaldce as first llvm pass 2024-08-01 12:21:53 +10: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
f3b5498951
upgrade sort.zig to zig 13 2024-07-31 14:15:04 +10:00
Luke Boswell
96db1bdce2
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-07-31 14:01:50 +10:00
Luke Boswell
a589d7d789
fix num_to_str_f32 test 2024-07-31 05:29:50 +10:00
Luke Boswell
4c9610b147
WIP add llvm optimisation passes 2024-07-31 05:22:40 +10:00
Anton-4
30a76a092b
improve opaque types tip 2024-07-30 16:06:23 +02:00
Joshua Warner
c49dc1b9d6
Merge pull request #6938 from joshuawarner32/fix-unreachable 2024-07-30 06:57:36 -07:00
Joshua Warner
939f9cb7e9
Give an error for record builders in patterns instead of crashing 2024-07-29 22:54:25 -07:00
Joshua Warner
ca037c5d0e
Merge branch 'main' into fix-deprecated-interpolated-formatting 2024-07-29 17:40:23 -07:00
Joshua Warner
4e8b36adbf
Fix auto-fixing of deprecated interpolated strings 2024-07-29 17:37:55 -07:00
Richard Feldman
a66e6862f4
Merge pull request #6926 from a-lavis/store-all-space-between-annotation-body
Preserve comments between annotation and body
2024-07-29 15:58:53 -04:00
Aidan
4bf5154610 remove spaces_middle from crates/compiler/can/src/desugar.rs 2024-07-29 13:11:57 -04:00
Aidan
ddb58a2cd5 spaces_middle -> lines_between 2024-07-29 13:06:48 -04:00
Brendan Hansknecht
5a933b0582
Merge pull request #6932 from roc-lang/blitsort
Fast Builtin Sorting
2024-07-29 09:22:35 -07:00
Aidan
2529fa0721 get rid of extra newlines 2024-07-29 11:10:16 -04:00
Aidan
91fdd903e7 comment -> spaces_middle 2024-07-29 10:04:32 -04:00
Aidan
125990855f Merge branch 'main' into store-all-space-between-annotation-body 2024-07-29 09:46:05 -04:00