Commit graph

7235 commits

Author SHA1 Message Date
Aidan
b0be698354
simplify StrLiteral::Line to StrLiteral::PlainLine when possible 2024-08-17 01:16:51 -04:00
Agus Zubiaga
97ddae7e3d
Lower params when calling imported functions 2024-08-17 01:03:34 -03:00
Agus Zubiaga
7a8b9f7d6d
Add variable to ParamsVar 2024-08-16 20:54:16 -03:00
Sam Mohr
e169529ede
Remove barely used zstd dependency 2024-08-16 10:10:29 -07:00
Sam Mohr
209d78f72c
Minor formatting fix 2024-08-16 01:52:56 -07:00
Sam Mohr
b1a972ab21
Implement &foo record updater syntax sugar 2024-08-16 01:41:59 -07:00
Luke Boswell
767ec7af84
cli run tests passing on macos 2024-08-16 17:59:53 +10:00
Luke Boswell
0767115414
WIP refactor to build test platform once per test run 2024-08-16 12:05:47 +10:00
Luke Boswell
9ecb209f73
add suppress warning flag, remove test test_roc_app_slim 2024-08-16 11:29:39 +10:00
Sam Mohr
a14a110293
Merge pull request #7000 from smores56/try-suffix-ast-node
Combine ! and ? into single TrySuffix AST node
2024-08-15 09:31:59 -07:00
Sam Mohr
0fd0cc11aa
Format code 2024-08-14 22:26:32 -07:00
Sam Mohr
3bc5c1dc12
Combine ! and ? into single TrySuffix AST node 2024-08-14 22:14:08 -07:00
Sam Mohr
28ceb0e93f
Fix formatting and clippy issues 2024-08-14 19:48:38 -07:00
Sam Mohr
49f5ea88fc
Merge branch 'main' into rebuild-platform 2024-08-14 19:40:57 -07:00
Sam Mohr
550baded7f
Merge branch 'main' into rebuild-platform 2024-08-14 19:39:30 -07:00
Luke Boswell
7ab15143eb
fix typo 2024-08-15 08:11:43 +10:00
Luke Boswell
172b30ff54
Merge pull request #6998 from roc-lang/macos-codesign
use macos codesign
2024-08-15 07:32:30 +10:00
Luke Boswell
57b277da5c
Merge remote-tracking branch 'remote/main' into upgrade-llvm-zig 2024-08-15 07:11:29 +10:00
Anton-4
47978c8a20
use macos codesign
Anaconda also has a codesign and we want to use the macos one, see https://github.com/pyinstaller/pyinstaller/issues/8581#issuecomment-2147311833

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-14 17:01:17 +02: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
Sam Mohr
7c15c16ae0 Fix failing test_reporting tests 2024-08-13 01:35:00 -07:00
Sam Mohr
db0c49b38f Fix merge issue 2024-08-13 00:30:26 -07: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
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
Brendan Hansknecht
6b04318e27
handle float types 2024-08-09 19:27:47 -07:00
Brendan Hansknecht
462872551e
fix up list literal constant loading 2024-08-09 19:07:01 -07:00
Ayaz Hafiz
9abbcfaafc
Optimize literal list construction in LLVM backend
Currently, list literals are always heap-allocated and their elements
are stored by emitting a GEP and store for each item in the literal.
This produces huge quantities of IR, causing compile times for e.g.
programs with large literals or ingested files to blow up.

Instead, if a list literal consists entirely of literal values, create a
global section for the literal and return a pointer to it.
2024-08-09 18:51:17 -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