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 |
|
Folkert
|
05469d5ae5
|
Merge remote-tracking branch 'origin/trunk' into gen_wasm_switch
|
2021-09-09 10:19:46 +02:00 |
|
Brian Carroll
|
f822251c65
|
Fix rust-fmt
|
2021-09-08 20:38:27 +01:00 |
|
Brian Carroll
|
57a30b8e9e
|
Get rid of duplicated eval helper file
|
2021-09-08 20:16:59 +01:00 |
|
Folkert
|
e802da5f54
|
implement factorial example
|
2021-09-08 20:05:05 +02:00 |
|
Folkert
|
ae2b4b7c78
|
comment out wasm record tests
|
2021-09-08 20:01:35 +02:00 |
|
Folkert
|
4e5b677426
|
basic join point
|
2021-09-08 15:54:00 +02:00 |
|
Folkert
|
480cdea82c
|
comment out record tests
|
2021-09-08 00:57:59 +02:00 |
|
Folkert
|
1da32f18e5
|
implement switch for the gen wasm backend
|
2021-09-08 00:00:36 +02:00 |
|
Brian Carroll
|
7825c0c007
|
Merge branch 'gen_wasm' of github.com:rtfeldman/roc into gen_wasm
|
2021-09-07 21:37:29 +01:00 |
|
Folkert
|
c888baccff
|
rename layout -> return_layout
|
2021-09-07 20:55:05 +02:00 |
|
Folkert
|
4c8ac253e4
|
fix typo
|
2021-09-07 17:45:10 +02:00 |
|
Folkert
|
afd7553e7a
|
enable F64
|
2021-09-07 17:42:31 +02:00 |
|
Folkert
|
e316bfca72
|
make mut
|
2021-09-07 16:48:11 +02:00 |
|
Folkert
|
28c608e692
|
remove duplication of FromWasm32Memory
|
2021-09-07 16:47:10 +02:00 |
|
Folkert
|
f4379673b4
|
Merge remote-tracking branch 'origin/trunk' into gen_wasm
|
2021-09-07 16:45:57 +02:00 |
|
Brian Carroll
|
edf39be4c9
|
Prepare to pull from trunk
|
2021-09-07 09:02:17 +01:00 |
|
Brian Carroll
|
ba0826cbfd
|
First three tests passing with Wasm dev backend!
Only i64 values. Next step is generalising to all types.
|
2021-09-07 08:03:41 +01:00 |
|
Brian Carroll
|
e90588d156
|
Notes on control flow, binaryen, and optimisation
|
2021-09-06 22:40:46 +01:00 |
|
Brian Carroll
|
ec9b60368f
|
Add plan and linking info to readme, and highlight control flow stuff
|
2021-09-06 08:55:09 +01:00 |
|
Brian Carroll
|
545fef307e
|
More Wasm info in README
|
2021-09-05 18:16:34 +01:00 |
|
Folkert
|
71ce267f59
|
debug_assert
|
2021-09-05 14:10:13 +02:00 |
|
Folkert
|
b3b2e7de11
|
remove faulty instance
|
2021-09-05 14:09:15 +02:00 |
|
Folkert
|
f8809a3eef
|
rename wasm -> wasm32
|
2021-09-05 14:08:14 +02:00 |
|
Brian Carroll
|
1b8d87d3e0
|
Initial README for Wasm backend
|
2021-09-05 11:26:40 +01:00 |
|
Brian Carroll
|
b445cea964
|
Fix generation of params & locals
|
2021-09-04 21:35:23 +01:00 |
|
Brian Carroll
|
bf7b1cdc63
|
Don't double-count args as locals
|
2021-09-04 13:34:04 +01:00 |
|
Brian Carroll
|
13a969a238
|
Bugfixes: generate valid wasm for gen_add_i64
Still need to create test_wrapper
|
2021-09-03 21:54:57 +01:00 |
|
Folkert
|
08e242967a
|
function must end with an End instruction
|
2021-09-01 22:36:34 +02:00 |
|
Folkert
|
ff29b19338
|
add wasm tests
|
2021-09-01 22:35:14 +02:00 |
|
Brian Carroll
|
0770bb242e
|
Reset after each procedure, and reserve space in vecs
|
2021-09-01 20:12:01 +01:00 |
|
Brian Carroll
|
9ba7076d8e
|
Cleanups after self-review
- Fix clippy warnings
- Improve a comment
- Delete commented-out lines in Cargo.toml
- Checkin Cargo.lock
|
2021-09-01 19:37:15 +01:00 |
|
Brian Carroll
|
3bf94e020c
|
Beat the borrow-checker by following gen_dev structure
|
2021-09-01 19:26:26 +01:00 |
|
Brian Carroll
|
e67efaba4d
|
Split up Wasm module and function
|
2021-09-01 19:26:26 +01:00 |
|
Brian Carroll
|
e5d5bb27fa
|
Implement a bit more of the IR
|
2021-09-01 19:26:25 +01:00 |
|
Brian Carroll
|
6500cb3c35
|
Add a body to the function
|
2021-09-01 19:26:25 +01:00 |
|
Brian Carroll
|
4d76b9d15d
|
Refactor locals
|
2021-09-01 19:26:25 +01:00 |
|
Brian Carroll
|
8d7e0471fd
|
Get rid of return-on-stack stuff for now, focus on numbers first
|
2021-09-01 19:26:24 +01:00 |
|
Brian Carroll
|
06c0e0d815
|
outline of build_proc
|
2021-09-01 19:26:24 +01:00 |
|
Brian Carroll
|
a1102222dd
|
Create a high-level structure for Wasm backend
|
2021-09-01 19:26:23 +01:00 |
|
Brian Carroll
|
863f449048
|
Create a library for the Wasm dev backend
|
2021-09-01 19:26:23 +01:00 |
|