Commit graph

69 commits

Author SHA1 Message Date
Richard Feldman
081b1d2612
Fix a gen test for dev backend 2022-07-09 19:23:22 -04:00
Richard Feldman
f45e3dbb46
Fix tests 2022-07-08 18:16:08 -04:00
Folkert
24c6b92846
update mono tests 2022-07-08 16:16:42 +02:00
Folkert de Vries
43f9b0d0fa
Merge pull request #3389 from rtfeldman/3378
Call recursive function with captures, and consolidate proc calling
2022-07-08 16:14:33 +02:00
Folkert
972d652d5d
Merge remote-tracking branch 'origin/trunk' into list-unsafe-append 2022-07-08 13:57:09 +02:00
Ayaz
856b38a958
Merge pull request #3319 from rtfeldman/remove-old-expect-logic
remove old expect logic
2022-07-07 21:21:36 -05:00
Ayaz Hafiz
11b7597a07
Make sure to initialize complete uninit buffer in gen tests 2022-07-07 20:56:51 -04:00
Folkert
98c55ba30c
clean up the list map benchmark 2022-07-07 23:21:38 +02:00
Folkert
56c9787e8f
List.appendUnsafe and List.reserve 2022-07-07 22:40:28 +02:00
Brian Carroll
daec180972
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-last-few-builtins 2022-07-07 20:36:25 +01:00
Brian Carroll
a6faf875f8
wasm: Use Ord::max where possible instead of a custom function 2022-07-07 20:32:32 +01:00
Ayaz
22f02984d3
Merge branch 'trunk' into 3378 2022-07-06 20:37:32 -05:00
Richard Feldman
85d87ab431
Merge pull request #3407 from rtfeldman/dylib-roc-benchmarks
Dylib roc benchmarks
2022-07-06 21:19:29 -04:00
Brian Carroll
b1ea641cfb
wasm: enable more tests 2022-07-07 00:34:42 +01:00
Brian Carroll
c9a1600751
wasm: Fix List.map where the mapper has zero-size arguments 2022-07-07 00:05:56 +01:00
Brian Carroll
a9aee13086
test_gen: support RocResult for Wasm tests 2022-07-06 22:01:03 +01:00
Brian Carroll
617e18af98
wasm: enable remaining List tests, except 2 panics 2022-07-06 22:01:02 +01:00
Brian Carroll
f132350ef3
wasm: implement List.sortWith 2022-07-06 22:01:01 +01:00
Brian Carroll
86cb50ed09
test_gen: fix some list tests for 32-bit targets 2022-07-06 21:59:40 +01:00
Brian Carroll
e5e56a7795
wasm: Implement List.prepend 2022-07-06 21:59:37 +01:00
Folkert
6e664b466f
fix merge conflict 2022-07-06 22:35:14 +02:00
Ayaz Hafiz
20a9a9765a
Disable wasm test for now 2022-07-06 12:49:03 -04:00
ayazhafiz
efbd1bf4c7
Add unbound runtime error function var gen test 2022-07-06 12:49:02 -04:00
ayazhafiz
937b73b797
Compile lambdas that have an empty lambda set
Closes #3224

This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
2022-07-06 12:49:01 -04:00
Folkert de Vries
b28561d1c9
Merge branch 'trunk' into dylib-roc-benchmarks 2022-07-06 18:39:16 +02:00
Richard Feldman
c9346b0744
Merge pull request #3418 from rtfeldman/repl-expect
repl expect
2022-07-06 09:40:40 -04:00
Ayaz Hafiz
634d4c534a
Add gen test for recursive capture call 2022-07-06 09:11:02 -04:00
Folkert
3017a14599
rename 2022-07-06 14:07:52 +02:00
Ayaz Hafiz
2492fba9f9
Gen tests for promoted num layouts 2022-07-05 22:16:52 -04:00
Folkert de Vries
93dbda9ac5
Merge pull request #3399 from rtfeldman/pure-roc-map-with-index
Pure Roc `List.mapWithIndex`
2022-07-06 00:25:46 +02:00
Folkert
cd8b08dcb0
add benchmark for List.map performance 2022-07-06 00:20:20 +02:00
Folkert
2aabdaa9c8
remove debug print 2022-07-06 00:19:24 +02:00
Folkert
52d339463a
make OptLevel configurable in gen test code gen 2022-07-06 00:19:13 +02:00
Folkert
2debf2629d
start using criterion in the test_gen crate 2022-07-05 17:29:26 +02:00
Folkert
93db29faf0
add option for debugir LLVM debug info in gen tests 2022-07-05 17:20:10 +02:00
Folkert
0d8fc5f2da
put platform functions (roc_alloc etc) in a module 2022-07-05 17:10:32 +02:00
Folkert
6d7c329698
Str.walkScalars 2022-07-04 18:01:19 +02:00
Folkert
1de9270ecf
Merge remote-tracking branch 'origin/trunk' into str-walk 2022-07-04 16:30:07 +02:00
Folkert
9c41a4d442
str.appendScalar 2022-07-04 16:27:04 +02:00
Brian Carroll
62e93dd921
wasm: enable test for List.mapWithIndex 2022-07-04 15:14:52 +01:00
Folkert de Vries
4523e90bc7
Merge pull request #3398 from rtfeldman/wasm-str-full-coverage
Wasm Str: 100% tests passing
2022-07-04 14:51:52 +02:00
Folkert de Vries
1441e8c347
Merge pull request #3392 from rtfeldman/wasm-boxed-eq-and-refcount
Dev backends: Eq and refcount for Boxed layout
2022-07-04 13:17:37 +02:00
Brian Carroll
fdc0851883
wasm: fix Str.fromUtf8Range 2022-07-04 11:52:18 +01:00
Brian Carroll
a342f02824
wasm: fix Str.fromUtf8 2022-07-04 11:24:38 +01:00
Brian Carroll
02ec30425c
wasm: Implement Str.split 2022-07-04 11:24:38 +01:00
Brian Carroll
6b1e9c75c8
mono: generate refcounting helper functions for Boxed layout 2022-07-03 23:31:49 +01:00
Folkert
65f80b61c6
add Str.walkUtf8WithIndex 2022-07-03 20:24:08 +02:00
Folkert
eeb271d07f
Str.splitFirst and Str.splitLast 2022-07-03 19:47:06 +02:00
Brian Carroll
7c7e450756
mono: generate Eq functions for Boxed layout 2022-07-03 18:42:35 +01:00
Ayaz Hafiz
8855f269ba
Make captures niche more private 2022-07-03 10:37:36 -04:00