Commit graph

27564 commits

Author SHA1 Message Date
Agus Zubiaga
933fde77a0
Parse and format top-level import defs with no alias or exposed members 2024-01-20 08:35:50 -03:00
Brendan Hansknecht
ebfcd71e8d
Merge pull request #6401 from roc-lang/f32-abs
dev backend: f32 abs
2024-01-19 15:15:11 -08:00
Folkert
351c9215fe
dev backend: f32 abs 2024-01-19 15:16:32 +01:00
Richard Feldman
1da3a335df
Merge pull request #6398 from heytherewill/will/error-header
Improve filename visibility in error messages
2024-01-18 21:28:01 -05:00
William Barbosa
3882262b70 Fix remaining test cases 2024-01-18 08:15:02 +01:00
William Barbosa
f7fac0daba Add a test for trimmed paths 2024-01-18 08:15:02 +01:00
William Barbosa
ad3673bfe9 Improve filename visibility in error messages 2024-01-18 08:15:02 +01:00
Richard Feldman
11ecfe0bc6
Update interpolation syntax in roc-for-elm-programmers.md
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-17 21:08:12 -05:00
Brendan Hansknecht
5dd8263394
Merge pull request #6393 from roc-lang/no-rlib
Stop using "rlib"
2024-01-17 14:09:49 -08:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08:00
Richard Feldman
ae0e3593a4
Merge pull request #6311 from roc-lang/fix_benchmarks
Fix benchmarks failing silently
2024-01-15 14:00:57 -05:00
Anton-4
03177c2915
cleanup dbg stuff 2024-01-15 19:39:47 +01:00
Anton-4
b8b509a363
fix sha comparison 2024-01-15 19:30:29 +01:00
Anton-4
74cbddf50c
sha on disassembly 2024-01-15 17:26:43 +01:00
Richard Feldman
3f7ed64bf6
Merge pull request #6384 from roc-lang/check-and-build-exit-codes
Check and build exit codes
2024-01-15 06:58:05 -05:00
Isaac Van Doren
eec6d79248
exit code 2 for warnings 2024-01-14 19:53:55 -06:00
Isaac Van Doren
3d0661db0c
Revert "add ignore-warnings flag to roc build"
This reverts commit 1c85b823c1.
2024-01-14 19:51:58 -06:00
Isaac Van Doren
acb2cfdd40
Revert "add flag to roc check"
This reverts commit 5d74cd61ec.
2024-01-14 19:51:37 -06:00
Isaac Van Doren
5d74cd61ec
add flag to roc check 2024-01-14 16:00:11 -06:00
Isaac Van Doren
1c85b823c1
add ignore-warnings flag to roc build 2024-01-14 15:39:10 -06:00
Richard Feldman
be82798247
Merge pull request #6379 from roc-lang/fix-single-quote-dollar
Fix single-quote `'$'` parsing
2024-01-13 20:36:04 -05:00
Richard Feldman
443b3c8851
Fix single-quote dollar parsing 2024-01-13 15:41:35 -05:00
Anton-4
6a6345eb01
Merge branch 'main' of github.com:roc-lang/roc into fix_benchmarks 2024-01-13 19:47:20 +01:00
Anton-4
f81fd508e4
upload bench folders 2024-01-13 19:44:33 +01:00
Richard Feldman
2d64d134d4
Merge pull request #6320 from fyuan1316/issue-6151
Linking example pages to source code
2024-01-13 06:58:44 -05:00
Anton-4
872d1d3a5c
minor improvements 2024-01-12 21:10:42 +01:00
Anton-4
79ed84fff3
Merge pull request #6355 from B-Teague/merge-gitignore
Consolidate gitignore
2024-01-12 13:29:32 +01:00
Anton-4
06c760c5b8
fix spelling 2024-01-10 22:16:05 -05:00
Anton-4
1fde499fac
minor changes 2024-01-10 22:16:05 -05:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Anton-4
4e51efcba5
Merge pull request #6369 from roc-lang/hompage-new-syntax
homepage \(...) > $(...)
2024-01-09 13:08:33 +01:00
Luke Boswell
6bdcc4743a
Merge pull request #6363 from roc-lang/windows-llvm-setjmp-longjmp
fix for bugged setjmp/longjmp on windows/llvm
2024-01-09 22:00:15 +11:00
Anton-4
a4bedd1d63
homepage \(...) > $(...)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-09 10:37:11 +01:00
Brendan Hansknecht
16a566504d
Merge pull request #6368 from roc-lang/debug-version
Set debug info version
2024-01-08 21:29:51 -08:00
Brendan Hansknecht
3559326996
Set debug info version
We just missed setting it. Set it as specified in the docs: https://thedan64.github.io/inkwell/inkwell/debug_info/index.html#setting-up-the-module-for-holding-debug-info
Not sure why it is 3, but that is the value in the llvm tutorial as well: https://llvm.org/docs/SourceLevelDebugging.html

Fixes #6367
2024-01-08 20:28:42 -08:00
Anton-4
c8b157acac
Merge pull request #6366 from roc-lang/dollar-version-mismatch
interpolation version mismatch patch
2024-01-08 17:21:14 +01:00
Richard Feldman
fe6c6a078d
Fix FAQ typo
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-08 10:08:18 -05:00
Anton-4
60ce605d29
remove PR trigger
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-08 15:54:25 +01:00
Anton-4
6f3ddfba1e
fix examples path
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-08 15:40:23 +01:00
Anton-4
b85cebfe03
interpolation version mismatch patch
This script tests the latest release of basic-cli but one example used `$(which cat)` in a string, which is causing issues with the new interpolation syntax. I now just delete the `$` for that specific file before testing.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-08 15:27:51 +01:00
Richard Feldman
b58121ff06
Merge pull request #6365 from roc-lang/update-faq-logo
Update bird logo in FAQ
2024-01-07 22:47:16 -05:00
Richard Feldman
772e539d05
Update bird logo in FAQ
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-01-07 22:46:46 -05:00
Luke Boswell
6b77aa93d5
force windows_setjmp & windows_longjmp 2024-01-08 12:31:09 +11:00
Folkert
b9b19d6054
fix for bugged setjmp/longjmp on windows/llvm 2024-01-07 23:04:11 +01:00
Richard Feldman
24f469c254
Merge pull request #6362 from roc-lang/dollar-fmt
Preserve `\(...)` and `$(...)` in `roc format` for now
2024-01-07 10:29:34 -05:00
Richard Feldman
ff2704056e
Fix some tests 2024-01-07 00:00:37 -05:00
Richard Feldman
af8e9c7292
Parse deprecated interpolation syntax differently 2024-01-06 21:49:00 -05:00
Folkert de Vries
08ab7996a0
Merge pull request #6357 from roc-lang/dollar
Add support for $(...) string interpolation syntax
2024-01-06 22:20:19 +01:00
Folkert de Vries
c4141b809f
Merge pull request #6316 from rgripper/patch-4
Add missing WASI "random_get"
2024-01-06 21:44:38 +01:00
Richard Feldman
163bde0c41
Update tests to use $(...) interpolation 2024-01-06 15:06:30 -05:00