Commit graph

10698 commits

Author SHA1 Message Date
Folkert
7a37293874 fake the test, it only works for the dev backend for now 2021-09-15 23:43:49 +02:00
Folkert
d390239577 add cli test 2021-09-15 23:35:29 +02:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Folkert
e97df90bda don't wrap in LambdaSet 2021-09-15 23:26:13 +02:00
Folkert
03d0fa524c add test 2021-09-15 23:25:08 +02:00
Brendan Hansknecht
b1e02315d0 Strip debug info from zig 2021-09-15 12:28:19 -07:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Folkert
c221225ed9 refactor 2021-09-15 20:05:57 +02:00
Folkert
7fe652ab19 add Development optimization option 2021-09-15 20:05:39 +02:00
Brian Carroll
3d18d34135 Insert extra argument when returning on stack 2021-09-15 18:45:20 +02:00
Folkert
b74857f268 add dev flag 2021-09-15 18:28:25 +02:00
Brendan Hansknecht
e8e7f9cad8 Add executable file permissions 2021-09-15 08:58:23 -07:00
Folkert
418a403f0c clean up Backend 2021-09-15 17:50:22 +02:00
Brendan Hansknecht
e2411ea83f Add surgical linking to frontend with simple dummy lib creation 2021-09-14 23:06:22 -07:00
Brendan Hansknecht
e96291e9a7 Enable rebuilding hosts into a dynamic executable 2021-09-14 21:59:15 -07:00
Richard Feldman
737fb6b60d
Merge pull request #1701 from rtfeldman/lambda-set-layout-safety
Lambda set layout safety
2021-09-14 22:48:46 -04:00
Brendan Hansknecht
7297e969bd Fix cargo debug build 2021-09-14 17:30:26 -07:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Folkert
58ee7f0bfc fix argument order bug for mapWithIndex 2021-09-14 22:20:35 +02:00
Folkert
bd7ce52e26 only unwrap lambda set at the last moment 2021-09-14 22:20:14 +02:00
Brian Carroll
2be2e09ffd Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_stack_memory 2021-09-14 14:57:17 +02:00
Richard Feldman
22722a3cf4
Merge pull request #1692 from rtfeldman/report_problems
Extract program::report_problems
2021-09-14 08:26:57 -04:00
Folkert
de959d3ad3 recurse on lambda set in wasm backend 2021-09-14 13:30:19 +02:00
Brian Carroll
866d9f47a0 Move WasmLayout to its own module 2021-09-14 08:31:32 +02:00
Brian Carroll
258513a57c reset join/jump data 2021-09-14 08:18:33 +02:00
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
Brian Carroll
b18567f0cc
Merge pull request #1698 from rtfeldman/gen_wasm_test_wrapper
Support more types in Wasm backend tests
2021-09-13 23:16:36 +02: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
0b0674368a Merge branch 'trunk' of github.com:rtfeldman/roc into gen_wasm_test_wrapper 2021-09-13 17:01:58 +02:00
Brian Carroll
408c31ebcc Tests for different bitwidth integers 2021-09-13 17:01:06 +02:00
Richard Feldman
7d28bebda2
Merge pull request #1696 from rtfeldman/time-flag
Add explicit flag to emit timing information separate from debug info
2021-09-13 08:02:25 -04: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
Brendan Hansknecht
e948fcb944 Allow extra argument with clippy 2021-09-12 13:47:47 -07:00
Brendan Hansknecht
6e4a4f5a03 Add explicit flag to emit timing information separate from debug info 2021-09-12 12:10:48 -07:00
Richard Feldman
c80534d03b
Merge pull request #1694 from rtfeldman/wasm-layout-fix
Wasm layout fix
2021-09-12 11:56:26 -04:00
Brendan Hansknecht
7974301fd5
Merge pull request #1683 from rtfeldman/linker
Linker
2021-09-12 08:53:43 -07:00
Folkert
350891468a add LambdaSet layout variant 2021-09-12 17:00:09 +02:00
Richard Feldman
e00c8b6837 Update effects example to reproduce bug 2021-09-12 10:17:56 -04:00
Richard Feldman
fb719e83d9
Merge pull request #1691 from rtfeldman/libxkbcommon-1
Add libxkbcommon to BUILDING_FROM_SOURCE
2021-09-12 08:33:23 -04: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