Commit graph

44 commits

Author SHA1 Message Date
Folkert
dbee9dd0ce cleanup 2021-09-05 14:19:21 +02:00
Folkert
f8809a3eef rename wasm -> wasm32 2021-09-05 14:08:14 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
49708cfff8 WIP 2021-08-31 20:11:28 +02:00
Folkert
2e91914443 use zig wasm-ld 2021-08-30 00:18:01 +02:00
Folkert
ca227a58aa clippy 2021-08-29 23:13:40 +02:00
Folkert
d77c695e45 turn off wasm testing 2021-08-29 23:08:16 +02:00
Folkert
4ced5ce2c0 updates for tests 2021-08-29 23:06:23 +02:00
Folkert
815a4f76a7 make more tests run under wasm 2021-08-29 15:18:25 +02:00
Folkert
b37cccaa01 run more tests with wasm 2021-08-29 13:32:08 +02:00
Folkert
71c0a325ee wasm test harnass 2021-08-29 00:36:16 +02:00
Folkert
0d7d006cd7 hooking things up 2021-08-28 17:58:05 +02:00
Folkert
72e6a34a0d proof of concept 2021-08-28 14:48:24 +02:00
Folkert
0a7f7a2772 emit LLVM IR that can be compiled to wasm 2021-08-24 20:56:13 +02:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
5171d181ac emit invoke again to see what's up here 2021-08-16 20:44:55 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Folkert
44253049e2 more tests 2021-08-14 19:08:58 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
978cea4b8a passing tests 2021-06-28 22:28:47 +02:00
Folkert
0d5e91eb92 fix entry points 2021-06-13 22:13:37 +02:00
Richard Feldman
57676057fa Rename gen to gen_llvm
This way, we have gen_dev and gen_llvm representing the two
different compiler backends.
2021-06-06 07:56:47 -04:00
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Folkert
ab8abb8f11 centralize llvm logic 2021-06-02 21:28:51 +02:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Richard Feldman
6c4ba49086 Move add_intrinsics back 2021-05-23 23:46:09 -04:00
Richard Feldman
ebad3597c9 Call add_intrinsics after add_default_roc_externs
This is necessary to prevent defining things twice
2021-05-23 23:46:09 -04:00
Richard Feldman
e6ece40f76 Extract externs helpers into gen 2021-05-23 23:46:09 -04:00
Folkert
9b02165f00 remove unused function 2021-05-22 19:08:25 +02:00
Folkert
558fb3e1bf clippy + top level thunks 2021-05-15 23:19:08 +02:00
Folkert
3c7e849830 get poc-effect working 2021-05-14 15:09:55 +02:00
Folkert
ce195034ee sort of stable 2021-05-13 21:34:22 +02:00
Folkert
2163e01288 lowlevel List.map works 2021-05-13 19:15:17 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Folkert
ea7af0f7e7 don't inline testing function (used in macro) 2021-04-04 21:12:32 +02:00
Folkert
61b7be7838 remove pub fn 2021-04-01 21:45:50 +02:00
Folkert
ff3f231155 remove Mode from stdlib 2021-04-01 21:42:38 +02:00
Folkert
9c56fbc6d1 add flag to not fail on problems (so we can see runtime errors in action) 2021-03-29 16:07:30 +02:00
Folkert
e3b65b1ce0 Merge remote-tracking branch 'origin/trunk' into import-builtin-mod 2021-03-23 15:40:27 +01:00
Folkert
589b579689 refactor 2021-03-23 14:31:35 +01:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
73e6128ce3 parse multi-backtracking 2021-03-19 00:10:02 +01:00
Folkert
ef362ada26 change headers 2021-03-01 15:15:05 +01:00
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Renamed from compiler/gen/tests/helpers/eval.rs (Browse further)