Brian Carroll
e356f1c33f
builtins: fix saturated integer subtraction
2022-06-23 08:49:47 +01:00
Brian Carroll
e3812b4bf3
builtins: implement i128 multiplication
2022-06-23 08:29:43 +01:00
Brian Carroll
320bdcc13b
wasm: implement all multiplication operators
2022-06-22 23:36:01 +01:00
Brian Carroll
f4ec2617fa
wasm: implement all subtraction operators (checked, wrapping, panicking, and saturated)
2022-06-22 22:54:09 +01:00
Brian Carroll
bbccaf4cd2
wasm: refactor wrapping addition
2022-06-22 22:11:47 +01:00
Brian Carroll
b1193e4134
wasm: implement all addition operators (wrapping, panicking, saturating, and checked)
2022-06-22 22:11:46 +01:00
Brian Carroll
d7ac8cfcbc
wasm: implement addOrPanic in Zig
2022-06-22 22:11:44 +01:00
Brian Carroll
795afc0cf6
wasm: implement saturating addition in Zig
2022-06-22 22:11:42 +01:00
Brian Carroll
10676d3ce9
wasm: implement checked addition
2022-06-22 22:11:39 +01:00
Richard Feldman
e800c26cfe
Merge remote-tracking branch 'origin/trunk' into package-config
2022-06-22 15:20:21 -04:00
Folkert de Vries
69ab681f9c
Merge pull request #3256 from rtfeldman/i3230
...
Soundness bugs related to inference variables within recursive def annotations
2022-06-22 13:11:23 +02:00
Folkert de Vries
f206194d1f
Merge pull request #3278 from rtfeldman/wasm-more-lowlevels
...
Implement more Num lowlevels in Wasm
2022-06-22 13:06:11 +02:00
Folkert de Vries
7203031c9f
Merge pull request #3283 from rtfeldman/JanCVanB-patch-1
...
Fix argument order in `List.sublist` examples
2022-06-22 12:51:32 +02:00
Brian Carroll
37395a00ef
wasm: add support for NumToIntChecked
2022-06-22 00:27:38 +01:00
Brian Carroll
7a050949ef
wasm: support 128-bit numbers as arguments to Roc procedures
2022-06-22 00:27:38 +01:00
Brian Carroll
f5b46bf650
wasm: implement sin, cos, tan, sqrt, log, and pow
2022-06-21 23:59:38 +01:00
Richard Feldman
72281e34d1
Merge pull request #3277 from rtfeldman/fix-doc-comment-not-rendering
...
fix doc comment rendering
2022-06-21 16:06:06 -04:00
Richard Feldman
0e96dd9d73
Fix some broken auto-links in builtin docs
2022-06-21 15:13:05 -04:00
Jan Van Bruggen
44c52db6c3
Fix argument order in List.sublist
examples
2022-06-21 01:55:00 -06:00
Richard Feldman
033efe33e5
Merge pull request #3228 from rtfeldman/illegal_instruction_PENTIUM_N3700
...
WIP don't require avx, avx2, sse, sse4.2 on all x86-64
2022-06-20 08:32:14 -04:00
Brian Carroll
9d5713ed79
Merge branch 'trunk' into build-scripts-cleanup
2022-06-20 12:19:47 +01:00
Brian Carroll
4598b05345
Fix test_gen build script bugs
2022-06-20 08:24:48 +01:00
Brian Carroll
7d47fcc411
formatting
2022-06-20 00:15:47 +01:00
Brian Carroll
dbb4b31ebe
wasm: implement bytes_to_u16 and bytes_to_u32
2022-06-19 18:29:06 +01:00
Folkert
630f8d9c2d
fix doc comment rendering
2022-06-19 19:27:20 +02:00
Brian Carroll
0e6ee6a6ee
wasm: simplify == for Dec
2022-06-19 17:59:47 +01:00
Brian Carroll
b0d134b4d4
wasm: disable a failing test
2022-06-19 16:29:09 +01:00
Brian Carroll
1ce5268b3e
Get rid of Unix-specific rm
command
2022-06-19 16:21:34 +01:00
Brian Carroll
ab12ddf85f
Get rid of some Unix-specific slashes
2022-06-19 16:21:33 +01:00
Brian Carroll
a775c94596
Reuse wasi-libc-sys in all Wasm build scripts
2022-06-19 16:21:33 +01:00
Brian Carroll
5aff2bfe35
Get rid of a Windows-unfriendly 'find' command in test_gen build script
2022-06-19 16:21:31 +01:00
Brian Carroll
af08644101
enable some more gen_wasm tests
2022-06-18 23:46:11 +01:00
Brian Carroll
f0b9bf5203
Fix build error
2022-06-18 23:46:10 +01:00
Folkert de Vries
1b2559248c
Merge pull request #3260 from rtfeldman/wasm-linking-test-improvements
...
Wasm linking test improvements
2022-06-18 21:11:24 +02:00
Anton-4
b297952c45
mono tests update
2022-06-18 13:48:13 +02:00
Brian Carroll
7727cc7b83
wasm: make sure test_gen/build exists before using it
2022-06-18 10:59:11 +01:00
Brian Carroll
b40a73ddcb
Clippy
2022-06-18 07:27:44 +01:00
Brian Carroll
f1cadbcc05
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-linking-test-improvements
2022-06-17 23:20:05 +01:00
Brian Carroll
ba7f336e53
wasm: Fix linking bug in calls from Roc to JS
2022-06-17 23:18:18 +01:00
Ayaz Hafiz
89bf3b583f
Consolidate flex and hybrid mutual recursive constraints
2022-06-17 17:38:33 -04:00
Ayaz Hafiz
d9cda8992a
Add test for self-recursive inference with partial type annotation
...
The removed TODO is not technically a soundness bug, but it is a bit
frusturating. Unfortunately the fix is non-obvious (we must no longer
take rigid annotations as a source-of-truth, but instead fix them up
afterward). It may have disparate consequences, so let's punt for now.
2022-06-17 17:37:15 -04:00
Ayaz Hafiz
f27a841bec
Correct soundness bug with the presence of inference variables
2022-06-17 17:37:14 -04:00
Ayaz Hafiz
c9ca3effbc
Record bug in solver
2022-06-17 17:37:13 -04:00
Brian Carroll
40f2baa373
wasm: remove duplicate code in tests, for .wasm file dump
2022-06-17 22:04:59 +01:00
Brian Carroll
e416b70e08
wasm: fix double-counting of host-to-app linking dummies
2022-06-17 22:04:18 +01:00
Richard Feldman
10033c9bc0
Merge pull request #3253 from rtfeldman/encoding-deriver-immediates
...
Support immediates and optional record fields for derived encoders
2022-06-17 14:29:43 -04:00
Richard Feldman
962e08b10d
Merge pull request #3234 from rtfeldman/toplevel-expect
...
toplevel expect
2022-06-17 10:06:22 -04:00
Folkert de Vries
8bb85d275e
Merge pull request #3197 from rtfeldman/subs-cleanup
...
subs cleanup
2022-06-17 15:59:24 +02:00
Folkert de Vries
bf1a996f7e
Merge pull request #3235 from rtfeldman/exposed_symbol_name_helper
...
Create `to_exposed_symbol_string` helper function for all backends
2022-06-17 15:57:06 +02:00
Ayaz Hafiz
ef5dee14f7
Make sure that required and optional fields are treated the same for encoding
2022-06-17 09:21:26 -04:00