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
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
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
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
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
Ayaz Hafiz
79dcec705d
Disable wasm test for now
2022-07-24 16:07:26 -04:00
Brendan Hansknecht
3e82d30e89
Merge pull request #3619 from rtfeldman/gen-dev/array
...
Gen dev/array
2022-07-24 18:21:20 +00:00
Folkert
916ab396c0
don't read uninitialized memory
2022-07-24 17:53:59 +02:00
Folkert
7953da1c71
clippy
2022-07-24 16:33:57 +02:00
Folkert
425004dd28
remove duplicate test
2022-07-24 15:49:21 +02:00
Folkert
6e12ac191d
check i128 alignment for wasm too
2022-07-24 14:11:52 +02:00
Folkert
91a11a70af
fix str_walk_utf8_with_index
2022-07-24 14:04:41 +02:00
Folkert
8d4a770373
return list instead of nat
2022-07-24 13:48:06 +02:00
Folkert
4b5432328b
update tag tests
2022-07-24 13:42:06 +02:00
Folkert
60b7f2cf94
additional 32-bit string layout tests
2022-07-24 13:38:11 +02:00
Folkert
df865222bf
Nat overflow is different between targets
2022-07-24 12:53:03 +02:00
Folkert
69fb5e2cef
disable test for wasm that uses pointers
2022-07-24 12:20:29 +02:00
Folkert
29ad54e5d1
rename wasm llvm test wrapper (now it's the same as dev)
2022-07-24 12:20:17 +02:00
Folkert
bece4342ec
improvements to llvm+wasm test running
...
- run only the wasm tests
- nicer linker error reporting
2022-07-24 12:17:10 +02:00