Folkert de Vries
8f67129eae
use platform-independent tempdir
2022-08-03 21:58:02 +02:00
Folkert de Vries
a345649856
make test_gen build windows-proof
2022-08-03 21:46:04 +02:00
Folkert de Vries
fe707a9d6c
Revert "don't use default flags when using roc_std just for its types"
...
This reverts commit 092a119eb7
.
2022-08-03 21:18:56 +02:00
Folkert de Vries
092a119eb7
don't use default flags when using roc_std just for its types
2022-08-03 20:24:18 +02:00
Ayaz Hafiz
19a0302b25
Turn on wasm tests that work
2022-08-03 11:49:43 -05:00
Ayaz Hafiz
5ba7b81d57
Disable wasm gen for now
2022-08-03 11:49:11 -05:00
Ayaz Hafiz
7bcfb2cd38
Gen tests for deriving decoding immediates
2022-08-03 10:17:03 -05:00
Folkert de Vries
f233fae480
Merge pull request #3690 from rtfeldman/3318-is-multiple-of-unsigned
...
Fix `Num.isMultipleOf` for unsigned ints
2022-08-03 13:25:56 +02:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-03 11:41:19 +02:00
Christoph Rüßler
38f7fc7136
Add support for f32 to NumAdd
2022-08-02 21:57:08 +02:00
Christoph Rüßler
8cd63290f9
Add support for more integer types to NumAdd
2022-08-02 21:57:07 +02:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
...
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Folkert de Vries
86a1a0f401
Merge pull request #3643 from rtfeldman/disjoint-able-variable-specialization
...
Disjoint able variable specialization algorithm
2022-08-02 20:31:47 +02:00
raleng
06f1bead96
Enable gen_llvm is_multiple_of_unsigned test
2022-08-02 16:00:29 +02:00
Anton-4
d6b62add36
fixed BUILTINS_HOST_OBJ_PATH not found
2022-08-01 18:54:16 +02:00
Ayaz Hafiz
c9e7d4d92b
Add a list decoding test
2022-08-01 11:08:09 -05:00
Anton-4
0b5b3a8652
Merge branch 'trunk' of github.com:rtfeldman/roc into build-nix
2022-08-01 16:51:07 +02:00
Anton-4
43f9e2a7c3
fixes to make default.nix work
2022-08-01 16:50:38 +02:00
Ayaz Hafiz
b516bf0da8
Add basis decoder test, using the standard library!
2022-08-01 09:06:30 -05:00
Ayaz Hafiz
f275a943d0
Disable test on wasm3 for now
2022-08-01 08:06:44 -05:00
Ayaz Hafiz
95a439d402
Turn on all abilities tests for wasm
2022-08-01 08:06:39 -05:00
Ayaz
f72d29d6c5
Merge pull request #3660 from rtfeldman/i3653
...
Unify material recursion variables behind aliases and opaques
2022-07-29 18:35:44 -05:00
Brian Carroll
7f95483ea8
test_gen: fix inaccurate return type in a test causing wasm failure
2022-07-29 22:06:55 +02:00
Ayaz
fffe9ca8ee
Merge pull request #3659 from rtfeldman/when-on-128bit-numbers
...
when on 128-bit numbers
2022-07-29 14:54:16 -05:00
Ayaz
ff0edc72c3
Merge pull request #3657 from rtfeldman/when-on-strings
...
implement when on multiple string patterns
2022-07-29 14:53:35 -05:00
Ayaz Hafiz
fe864a445d
Add a test for big encoders enabled by disjoint specialization variables
2022-07-29 14:18:47 -04:00
Brian Carroll
ef1e86cca6
wasm: Enable some tests that are working now
2022-07-29 19:26:20 +02:00
Ayaz Hafiz
c397f7a0d9
Turn off failing test for now
2022-07-29 11:09:10 -04:00
Ayaz Hafiz
1460f60ab1
Unify material recursion variables behind aliases and opaques
...
Even if there are no changes to alias arguments, and no new variables were
introduced, we may still need to unify the "actual types" of the alias or opaque!
The unification is not necessary from a types perspective (and in fact, we may want
to disable it for `roc check` later on), but it is necessary for the monomorphizer,
which expects identical types to be reflected in the same variable.
As a concrete example, consider the unification of two opaques
P := [Zero, Succ P]
(@P (Succ n)) ~ (@P (Succ o))
`P` has no arguments, and unification of the surface of `P` introduces nothing new.
But if we do not unify the types of `n` and `o`, which are recursion variables, they
will remain disjoint! Currently, the implication of this is that they will be seen
to have separate recursive memory layouts in the monomorphizer - which is no good
for our compilation model.
Closes #3653
2022-07-29 11:03:47 -04:00
Brian Carroll
ef47ced57a
test_gen: Update FromWasm32Memory to correctly decode capacity for List and Str
2022-07-29 15:19:02 +02:00
Brian Carroll
82e514678e
wasm: Add a test to ensure list literals have initialized capacity
2022-07-29 15:11:28 +02:00
Folkert
d90fbbb032
remove duplicate test
2022-07-29 14:42:26 +02:00
Folkert
47bbef30e8
when on 128-bit numbers
2022-07-29 14:09:50 +02:00
Brian Carroll
0041d4f3bc
wasm: Fix shiftRightBy for U8 and U16
2022-07-29 14:05:39 +02:00
Folkert
d0f1500dad
implement when on multiple string patterns
2022-07-29 12:13:21 +02:00
Folkert de Vries
21fe0ca559
Merge pull request #3639 from rtfeldman/expect-lists
...
Tests for expect output
2022-07-28 08:53:58 +02:00
Folkert
a60a49bce6
dev backend cannot compare floats
2022-07-27 14:46:46 +02:00
Folkert
b24c9e33d7
make test_gen a package
2022-07-27 13:49:23 +02:00
Folkert
40d7e94a17
make the mmapped buffer configurable
2022-07-26 23:36:25 +02:00
Folkert
f011748526
fix duplicate test failing llvm wasm tests
2022-07-26 18:22:05 +02:00
Richard Feldman
11ba64c249
Merge pull request #3608 from rtfeldman/more-list-builtins
...
More `List` builtins
2022-07-25 15:23:45 -04:00
Folkert de Vries
d212dffa1a
Merge pull request #3616 from rtfeldman/i3614
...
Compile branches in the presence of degenerate patterns
2022-07-25 19:45:36 +02:00
Folkert
67c736948b
fix wasm test
2022-07-25 19:15:40 +02:00
Richard Feldman
f216224495
Fix off-by-one in List.splitFirst and splitLast
2022-07-25 19:15:38 +02:00
Richard Feldman
7cf5732001
Add List.startsWith and endsWith gen tests
2022-07-25 19:15:38 +02:00
Richard Feldman
bdfcabd803
Add List.findLast gen tests
2022-07-25 19:15:37 +02:00
Richard Feldman
c3cfc0d396
Add List.findLastIndex gen tests
2022-07-25 19:15:37 +02:00
Richard Feldman
5520a82bfe
Re-enable and expand list_find_empty_layout
2022-07-25 19:15:35 +02:00
Richard Feldman
f3b8025d8d
Rename List.find and findIndex to include 'First'
2022-07-25 19:15:32 +02:00
Richard Feldman
a9483e4098
Merge pull request #3626 from rtfeldman/llvm-wasm-tests
...
Llvm wasm tests
2022-07-24 17:12:19 -04:00