Commit graph

4828 commits

Author SHA1 Message Date
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 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
34a88c228f fix another typo 2021-09-10 15:49:18 +02:00
Folkert
3a83b0c415 fix typo 2021-09-10 15:44:11 +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
Folkert de Vries
001e94a071
Merge branch 'trunk' into single-record-update 2021-09-09 12:12:41 +02:00
Folkert
05469d5ae5 Merge remote-tracking branch 'origin/trunk' into gen_wasm_switch 2021-09-09 10:19:46 +02:00
Richard Feldman
edd7254f43
Merge branch 'trunk' into wasm-base64 2021-09-08 18:20:39 -04: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
f40949c64e pass correct argument to procs.get_specialized_procs_without_rc 2021-09-08 20:04:24 +02:00
Folkert
ae2b4b7c78 comment out wasm record tests 2021-09-08 20:01:35 +02:00
Folkert
5b2661e394 update mono tests 2021-09-08 19:59:30 +02:00
Folkert
fe83de39fb don't do aliasing in join points any more 2021-09-08 19:55:30 +02:00
Folkert
4e5b677426 basic join point 2021-09-08 15:54:00 +02:00
Folkert
bdd07b0968 special-case properly 2021-09-08 13:10:44 +02:00
Folkert
0d1cc3844e don't special-case a single element record any more in updates 2021-09-08 12:59:38 +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
Folkert de Vries
53b5275eb2
Merge branch 'trunk' into wasm-base64 2021-09-07 13:11:46 +02:00
Brian Carroll
8c7efea506 Merge branch 'trunk' of github.com:rtfeldman/roc into gen_wasm 2021-09-07 09:03:56 +01: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
Folkert
ea9b23cda8 start using zig9 as the name for trunk zig 2021-09-06 22:25:35 +02:00
Folkert
3fb6736f7c clarify comment 2021-09-06 22:23:23 +02:00
Folkert
0865826364 Merge remote-tracking branch 'origin/trunk' into wasm-base64 2021-09-06 22:17:52 +02:00
Brian Carroll
ec9b60368f Add plan and linking info to readme, and highlight control flow stuff 2021-09-06 08:55:09 +01:00
Brendan Hansknecht
4487e1a3bf Fix merge tabbing bug and make clippy happy 2021-09-05 21:41:09 -07:00
Brendan Hansknecht
08aa3d31d4
Merge branch 'trunk' into gen-dev/mem 2021-09-05 21:31:05 -07:00
Brendan Hansknecht
0696044a5c Update dev backend to allow reusing stack space and using less memory 2021-09-05 21:21:44 -07:00
Brendan Hansknecht
05bea50730 Fix freeing of float registers 2021-09-05 21:18:32 -07:00
Richard Feldman
fd7c267ddb
Merge pull request #1675 from rtfeldman/list-literals
List literals in globals
2021-09-05 23:02:31 -04:00
Richard Feldman
ebd47a4113
Merge pull request #1674 from rtfeldman/from-wasm32-memory
From wasm32 memory
2021-09-05 22:19:20 -04:00
Folkert
05f56a34c7 cleanup 2021-09-05 21:23:08 +02:00
Folkert
6201ac5e6b if all constants, store list + refcount in constants section 2021-09-05 21:23:08 +02:00
Folkert
da966ed506 store integer lists in the constants section 2021-09-05 21:23:08 +02:00