Commit Graph

29537 Commits

Author SHA1 Message Date
Sam Mohr
0733863a81
Prefer false-interpreter for ? desugaring example 2024-08-14 23:23:45 -07:00
Sam Mohr
0fd0cc11aa
Format code 2024-08-14 22:26:32 -07:00
Sam Mohr
4870f56a18
Update args.roc test to use ? sugar 2024-08-14 22:21:53 -07:00
Sam Mohr
3bc5c1dc12
Combine ! and ? into single TrySuffix AST node 2024-08-14 22:14:08 -07:00
Sam Mohr
2423ce2272
Merge pull request #6999 from roc-lang/update-plans
Include shadowing in Plans page
2024-08-14 14:38:59 -07: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
35e398b036
review comments 2024-08-15 07:18:07 +10:00
Luke Boswell
3137cb30fa
include shadowing in Plans 2024-08-15 07:10:17 +10:00
Sam Mohr
79217931a1
Merge pull request #6995 from smores56/record-builder-docs
Update docs for new record builders
2024-08-14 14:00:59 -07:00
Sam Mohr
c8a2408c71
Add type annotations for builder examples 2024-08-14 13:59:28 -07:00
Sam Mohr
6ce5e75835
Update docs for new record builders 2024-08-14 13:59:27 -07:00
Sam Mohr
cc5bf3f164
Merge pull request #6993 from roc-lang/result-map-builtins
Implement `Result.mapBoth` and `Result.map2` builtins
2024-08-14 10:01:32 -07: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
49d72cb6fe
Merge pull request #6996 from roc-lang/adjust-getting-started
adjust getting started
2024-08-14 20:55:42 +10:00
Anton-4
bd4ef6aba7
adjust getting started
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-14 12:10:37 +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
0be4e49513
Merge pull request #6861 from roc-lang/typecheck-module-params
Canonicalize and type check module params
2024-08-14 13:19:20 +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
Luke Boswell
2dee5aea94
Merge pull request #6982 from joshuawarner32/normalize-str
Normalize string encoding as part of RemoveSpaces
2024-08-14 08:58:40 +10:00
Luke Boswell
dbe4a72cbd
Merge pull request #6978 from roc-lang/glue-check-toggle
allow glue check toggle
2024-08-14 08:58:08 +10:00
Anton-4
295675c2e0
Merge branch 'typecheck-module-params' of github.com:roc-lang/roc into typecheck-module-params 2024-08-13 17:30:09 +02:00
Anton-4
3b07afc72e
nix for debug tests 2024-08-13 17:28:59 +02:00
Anton-4
065a2237a7
install valgrind dependency
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-13 17:02:59 +02:00
Anton-4
723502c498
try more recent valgrind
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-13 16:32:16 +02: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
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
Sam Mohr
9fc6dccb9f
Merge pull request #6983 from joshuawarner32/rename-FullAst
Rename Full -> FullAst
2024-08-10 22:57:50 -07:00
Joshua Warner
0abea91796
Rename Full -> FullAst 2024-08-10 16:06:01 -07:00
Sam Mohr
3f7f1891f3
Merge pull request #6973 from joshuawarner32/move-Full
Move Full from fmt to parse and reorganize confusingly-named Module ast type
2024-08-10 07:20:05 -07:00
Anton-4
439ebcddce
make target an argument 2024-08-10 14:31:29 +02:00
Anton-4
12f9bacf6e
fix errors 2024-08-10 12:39:02 +02:00
Anton-4
635e6058cc
allow glue check toggle 2024-08-10 12:28:37 +02: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
Anton-4
0bffd6001c
Merge pull request #6976 from roc-lang/debug-flags
Debug flags
2024-08-09 23:41:21 +02:00
Anton-4
87a375ced1
Merge pull request #6975 from roc-lang/more-debug-tips
more debug tips
2024-08-09 23:40:23 +02:00
Anton-4
6fde123ea6
actually run check 2024-08-09 17:18:01 +02:00
Anton-4
a7f66c4676
ci check debug flags 2024-08-09 17:15:03 +02:00
Anton-4
bf63c79997
move debug tips 2024-08-09 15:47:54 +02:00
Anton-4
1a09a5347d
more debug tips
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-09 14:30:00 +02:00