Brendan Hansknecht
e7be9d435d
Merge pull request #6460 from roc-lang/dec-div-floor
...
`floor`, `ceiling` and `round` for `Dec`
2024-01-30 16:38:12 -08:00
Folkert
73d4a4ee56
wasm: incorrect step used to read RocList elements
2024-01-30 18:51:14 +01:00
Folkert
8c46ab95f2
prepend used wrong layout for alignment
2024-01-30 18:51:14 +01:00
Folkert
21b540751a
force interpolated variables to be of type string
2024-01-30 15:04:56 +01:00
Kiryl Dziamura
b3dfdb562b
crash on rem div by zero
2024-01-30 11:12:02 +01:00
Richard Feldman
dd86b11150
Merge pull request #6430 from stuarth/links-in-doc-headers
...
allow attributes in doc headers
2024-01-29 14:49:04 -05:00
Folkert
2e648cfdd5
add support in llvm/wasm backends
2024-01-29 16:16:06 +01:00
Richard Feldman
7c19b42a99
Merge pull request #6457 from roc-lang/division-by-zero
...
Division by zero
2024-01-29 08:37:31 -05:00
Folkert
db3b40a07b
Dec floor/ceiling/round
2024-01-29 13:39:38 +01:00
Folkert
a7212ceb7f
add fract/trunc functions to zig RocDec
2024-01-29 12:44:34 +01:00
Richard Feldman
2dc950924f
Merge pull request #6458 from roc-lang/list-get-repl
...
List.get with negative index in repl
2024-01-29 06:41:37 -05:00
Folkert de Vries
eadc0d37cd
Merge pull request #6448 from roc-lang/dev-backend-glue-new
...
glue with the dev backend works again
2024-01-29 11:51:12 +01:00
Anton-4
1c62a41fad
Merge pull request #6333 from roc-lang/rust-1-72-upgrade
...
Rust 1.72 upgrade
2024-01-29 04:32:40 +01:00
Folkert
979128cf32
make division by zero (integer) not trap
2024-01-29 01:38:32 +01:00
Folkert
0b0127f45e
format infinite float as the ∞ utf8 symbol
2024-01-29 01:37:46 +01:00
Folkert de Vries
4a593a5b77
Merge pull request #6442 from roc-lang/dev-backend-glue-primitives
...
Dev backend glue primitives
2024-01-29 00:08:51 +01:00
Folkert de Vries
c8c28140b7
Merge pull request #6449 from roc-lang/dict-mul-wrap
...
dict: use Num.mulWrap to prevent branches
2024-01-29 00:07:01 +01:00
Richard Feldman
3264d9ec8e
Merge pull request #6432 from jaredly/fix-glue
...
Fix syntax errors from RustGlue's tag generated code
2024-01-28 16:33:19 -05:00
Folkert
b0d57587e3
List.get with negative index in repl
2024-01-28 22:21:40 +01:00
Folkert
28ab81614c
fix duplicate test that trips up llvm-wasm
2024-01-28 19:22:49 +01:00
Anton-4
6338e54205
improve wording
2024-01-28 18:33:12 +01:00
Folkert
df3d04e92d
fix duplicate test that trips up llvm-wasm
2024-01-28 18:29:08 +01:00
Anton-4
30a5a2cfac
change hashtag formatting
2024-01-28 18:15:24 +01:00
Anton-4
4da0b005f6
forgot &
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-28 17:30:38 +01:00
Folkert
1ef0a8f39e
update mono tests
2024-01-28 16:54:04 +01:00
Folkert
d4cac5cdd9
dict: use Num.mulWrap to prevent branches
2024-01-28 16:53:23 +01:00
Folkert
4fe383eb43
cleanup
2024-01-28 16:39:20 +01:00
Folkert
bd0cb6338e
fix incorrect element width used for List.append in dev backend
2024-01-28 16:39:16 +01:00
Anton-4
f09b4aaac4
skip nullable_wrapped too
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-01-28 16:35:34 +01:00
Anton-4
70f33f1a07
disable glue_cli_run::option,closures
2024-01-28 16:03:25 +01:00
Folkert de Vries
01761abede
Merge pull request #6447 from roc-lang/fix-dollar
...
Fix parsing strings with non-interpolated "$"
2024-01-28 00:38:37 +01:00
Folkert
685025a240
a working dev-backend RustGlue.roc
...
with 2 caveates
- list reallocation does not work (so we make fresh allocations instead
- List.append in the glue main function causes a segfault. we use a concat with a single-element list instead
2024-01-28 00:36:07 +01:00
Richard Feldman
40fba2f1af
Fix parsing strings with non-interpolated "$"
2024-01-27 16:28:01 -05:00
Folkert
2794348722
fix bug in casting to u128/i128
2024-01-27 21:58:56 +01:00
Folkert
2786e8ff7f
refactor glue roc calling logic
2024-01-27 18:14:12 +01:00
Folkert
919a51137a
make ROC_DEV_WRITE_OBJ work in more cases
2024-01-27 17:46:19 +01:00
Brendan Hansknecht
d76394ac31
Fix the nonnull attribute
...
The current version will fail if run through the `opt` tool.
nonnull should have no data attached.
2024-01-27 08:36:06 -08:00
Brendan Hansknecht
689a930082
Merge remote-tracking branch 'origin/main' into rust-1-72-upgrade
2024-01-27 08:07:48 -08:00
Folkert
076fafe02f
enable some float conversion tests for gen-dev
2024-01-27 15:04:30 +01:00
Folkert
1e744dca7c
missing functions for dev backend for glue
2024-01-27 14:51:09 +01:00
Brendan Hansknecht
40026bf78e
Merge pull request #6439 from roc-lang/link-flags
...
add ROC_LINK_FLAGS support to linux
2024-01-26 23:31:57 -08:00
Brendan Hansknecht
bdbbfb36d1
add ROC_LINK_FLAGS support to linux
2024-01-26 20:55:16 -08:00
Luke Boswell
d5b05f4321
fix spelling
2024-01-27 14:03:20 +11:00
Luke Boswell
88330c7f33
add files to zig glue
2024-01-27 13:46:53 +11:00
Brendan Hansknecht
ce1e30163c
support .a archives in bundling
2024-01-26 14:39:05 -08:00
Jared Forsyth
bbbbb12e90
Fix syntax errors from RustGlue's tag generated code
...
```rs
/// A tag named ``DirReadErr``, with the given payload.
pub fn DirReadErr(f0: UnwrappedPath, f1: roc_std::RocStr) -> Self {
Self {
f0
f1
}
}
```
becomes
```rs
/// A tag named ``DirReadErr``, with the given payload.
pub fn DirReadErr(f0: UnwrappedPath, f1: roc_std::RocStr) -> Self {
Self {
f0,
f1
}
}
```
2024-01-26 11:00:00 -06:00
Stuart Hinson
7c5dd9e0aa
allow attributes in doc headers
...
include ENABLE_HEADING_ATTRIBUTES markdown option
2024-01-26 08:32:50 -05:00
On vacation
4ee3431428
Merge branch 'main' into rust-1-72-upgrade
2024-01-26 13:39:34 +01:00
Brendan Hansknecht
abc4fd18cc
add --fuzz
option to roc
2024-01-25 15:42:18 -08:00
Michael Pfeifer
390808eb12
Prevent roc format from reading $PWD when --stdin or --stdout options given
2024-01-24 23:48:54 +01:00