Commit graph

5394 commits

Author SHA1 Message Date
Brian Carroll
672aa14f7c Cosmetic: reorganise WasmLayout match statment 2021-09-14 08:00:00 +02:00
Richard Feldman
d6057eafb4 clippy 2021-09-13 20:06:38 -04:00
Richard Feldman
b16faae0a2 Fix gen_wasm exhaustiveness error 2021-09-13 20:02:34 -04:00
Richard Feldman
2cf551a634 Extract program::report_problems 2021-09-13 19:51:38 -04:00
Richard Feldman
f619932255
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
2021-09-13 19:50:50 -04:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Brian Carroll
cfef0f0f47 Add clarifying comments based on PR feedback 2021-09-13 22:42:04 +02:00
Brian Carroll
c47c3ccf58 Clippy fix 2021-09-13 17:30:13 +02:00
Brian Carroll
408c31ebcc Tests for different bitwidth integers 2021-09-13 17:01:06 +02:00
Brian Carroll
8407e8ad4c Merge branch 'trunk' of github.com:rtfeldman/roc into gen_wasm_test_wrapper 2021-09-12 23:33:01 +02:00
Brian Carroll
df73a4d80e rename wasm test modules 2021-09-12 23:24:04 +02:00
Brian Carroll
35c5b6bc4e Tests passing with generic native/wasm interface 2021-09-12 23:23:43 +02:00
Richard Feldman
c80534d03b
Merge pull request #1694 from rtfeldman/wasm-layout-fix
Wasm layout fix
2021-09-12 11:56:26 -04:00
Folkert
350891468a add LambdaSet layout variant 2021-09-12 17:00:09 +02:00
Folkert
c0cfd6ac16 make conversion a cast again 2021-09-12 14:28:44 +02:00
Folkert
0b893eb972 remove alignment bump again 2021-09-12 14:01:41 +02:00
Brendan Hansknecht
1d23f4c0d2 Merge branch 'trunk' into linker 2021-09-11 22:55:07 -07:00
Richard Feldman
fc1be5d90b Fix total_problems calculation 2021-09-11 16:34:30 -04:00
Richard Feldman
0dd1395331
Merge pull request #1686 from rtfeldman/refcounting-cleanup
Refcounting cleanup
2021-09-11 13:33:36 -04:00
Richard Feldman
2ccb4f768a
Merge pull request #1685 from rtfeldman/quicksort-wasm
Platform fixes for Wasm
2021-09-11 13:32:03 -04:00
Brian Carroll
8b73b98622 Code gen full test wrapper from body 2021-09-11 16:56:00 +01:00
Brian Carroll
086f13ef5a Rename test code gen menthod to build_wrapper_body 2021-09-11 16:55:20 +01:00
Folkert
8015edccf8 use freestanding as wasm32 builtins target 2021-09-11 15:40:35 +02:00
Folkert
820750ca26 Merge remote-tracking branch 'origin/trunk' into refcounting-cleanup 2021-09-11 15:12:59 +02:00
Folkert
cf5bb7ae6e cleanup 2021-09-11 13:56:06 +02:00
Brian Carroll
f0a7b4a46a Stack grows downward by convention, not upward 2021-09-11 11:44:49 +01:00
Brian Carroll
e8a36fc9b6 Readme updates 2021-09-11 11:44:48 +01:00
Brian Carroll
83150d2c7e Test helper trait to generate test wrapper code 2021-09-11 11:44:43 +01:00
Brian Carroll
b21155f60b Move some constants from backend to lib 2021-09-11 10:20:32 +01:00
Brian Carroll
042b175d89 More comprehensive WasmLayout 2021-09-11 10:20:27 +01:00
Folkert
eeb3c26e16 decref for dict/set 2021-09-10 22:31:39 +02:00
Folkert
cd9b32ba65 fix list decref 2021-09-10 21:53:57 +02:00
Folkert
5e68d31afc expose decref_pointer_check_NULL 2021-09-10 20:42:25 +02:00
Folkert
ac75badbe4 refactor 2021-09-10 20:08:05 +02:00
Folkert de Vries
575aaa1f0b
Merge pull request #1682 from rtfeldman/gen_wasm_join
joinpoints for the wasm backend
2021-09-10 16:23:34 +02:00
Folkert
1d8a475ac6 un-pub function 2021-09-10 16:06:14 +02:00
Folkert
34a88c228f fix another typo 2021-09-10 15:49:18 +02:00
Folkert
05ef6fdeb7 simplify 2021-09-10 15:47:16 +02:00
Folkert
3a83b0c415 fix typo 2021-09-10 15:44:11 +02:00
Folkert
770c8352e3 refactor 2021-09-10 15:29:28 +02:00
Folkert
7627e15266 remove dead code 2021-09-10 14:58:27 +02:00
Folkert
e3b3206286 sorting comment 2021-09-10 14:15:37 +02:00
Richard Feldman
e90bf1704e
Merge pull request #1679 from rtfeldman/single-record-update
Single record update
2021-09-10 07:56:36 -04:00
Folkert
3750b154ca cleanup 2021-09-10 13:52:33 +02:00
Folkert
7290ef7f98 rename 2021-09-10 13:19:18 +02:00
Folkert
daf0a0e02b Merge remote-tracking branch 'origin/trunk' into gen_wasm_join 2021-09-10 13:16:46 +02:00
Anton-4
35ca4c7723 Merge branch 'trunk' of github.com:rtfeldman/roc into editor-let-value 2021-09-10 12:10:50 +02:00
Anton-4
f1af9df70b applied Folkert's fix 2021-09-10 12:04:07 +02:00
Folkert
fc15004714 fix C abi issues in exposed main (quicksort platform) 2021-09-10 10:15:01 +02:00
Folkert
c2165ec0a4 bundle wasi-libc.a 2021-09-10 10:13:16 +02:00