Commit graph

1143 commits

Author SHA1 Message Date
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
Ayaz Hafiz
71d612078a
no_niche to represent lack of captures niche 2022-07-03 10:37:36 -04:00
Ayaz Hafiz
a5ea4f8c11
Remove references to multimorphic names 2022-07-03 10:37:35 -04:00
Ayaz Hafiz
276db791bd
Update capture niche tests 2022-07-03 10:37:35 -04:00
ayazhafiz
1ed2e1a8e9
Improve test 2022-07-03 10:37:28 -04:00
Ayaz Hafiz
98b310a604
Fix wasm test gen 2022-07-03 10:37:28 -04:00
Ayaz Hafiz
fe318488e2
Add more multimorphic gen tests 2022-07-03 10:37:28 -04:00
Ayaz Hafiz
ada4b0ea43
Add test gen for multimorphic capture 2022-07-03 10:37:26 -04:00
Brian Carroll
b2c094ca07
Merge pull request #3379 from rtfeldman/wasm-box
Wasm box & unbox
2022-07-03 12:55:48 +01:00
Brian Carroll
7ea9854e49
wasm: Refactor and bug-fix copy_value_from_memory 2022-07-03 10:22:11 +01:00
Folkert de Vries
2a82d24847
Merge pull request #3369 from rtfeldman/pure-roc-list-walk
List.walk and friends in pure Roc
2022-07-03 02:32:43 +02:00
Folkert de Vries
0d17f007d1
Merge pull request #3376 from rtfeldman/wasm-list-drop-at
implement List.dropAt for the wasm backend
2022-07-03 00:58:42 +02:00
Folkert
00397db8b6
implement List.dropAt for the wasm backend 2022-07-02 22:20:34 +02:00
Richard Feldman
af05723d35
Rename startsWithCodePt to startsWithScalar 2022-07-02 15:51:33 -04:00
Richard Feldman
284ff5de35
Enable some missing tests 2022-07-02 15:22:20 -04:00
Richard Feldman
348ca970d6
Add gen tests for Str.toScalars 2022-07-02 13:13:27 -04:00
Brian Carroll
219e6d11cf
Merge branch 'trunk' of github.com:rtfeldman/roc into pure-roc-list-walk 2022-07-02 18:08:43 +01:00
Anton-4
b74fc3554b
Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder 2022-07-02 12:35:19 +02:00
Anton-4
b1b9a8dc0a
Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder 2022-07-02 10:44:25 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00