Commit graph

10698 commits

Author SHA1 Message Date
Folkert
d8d4522b16 cleanup 2021-09-01 20:27:48 +02: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
Anton-4
f5a142ea0d updated tests 2021-09-01 20:03:40 +02:00
Folkert
5076ba47ee Merge remote-tracking branch 'origin/trunk' into enable-wasm-tests 2021-09-01 19:54:40 +02:00
Richard Feldman
bb256ebd48
Merge pull request #1637 from rtfeldman/wasm-gen-test
Wasm gen test
2021-09-01 13:41:17 -04:00
Anton-4
a2d802dd04 improved handle_new_char structure, test updates 2021-09-01 19:00:09 +02:00
Folkert
85e4afefe8 quick fix for failing expects on wasm 2021-09-01 17:22:57 +02:00
Folkert
5cb7dbd3cc use zig's decref instead of an LLVM implementation 2021-09-01 16:58:05 +02:00
Folkert
59c63ef3a8 fix tag id stored in ptr bits on 32-bit systems 2021-09-01 15:57:32 +02:00
Folkert
3ef4a40f45 hopefully get the logic right this time 2021-09-01 15:56:50 +02:00
Anton-4
f851215917 updated tests 2021-09-01 14:23:09 +02:00
Folkert
4731cbd391 trying to be even smarter 2021-08-31 22:40:13 +02:00
Folkert
a810c2c27b smarter alignment code 2021-08-31 22:37:32 +02:00
Folkert
106f1311d2 only conditionally flip a bit 2021-08-31 22:32:56 +02:00
Folkert
49708cfff8 WIP 2021-08-31 20:11:28 +02:00
Anton-4
6d6ae5d5c0 bug fixes, updated tests 2021-08-31 19:54:48 +02:00
Richard Feldman
ba70f196ce
Merge pull request #1646 from rtfeldman/update-debugir
Update debugir
2021-08-31 07:25:02 -04:00
Folkert
5946215646 attempt to pre-build benchmark host 2021-08-31 12:48:50 +02:00
Ju Liu
0033392563 Remove unused deps 2021-08-31 11:39:15 +01:00
Folkert
b7db53a8d9 remove wasm tests (they would obviously fail CI) 2021-08-31 12:36:50 +02:00
Ju Liu
7a70ce59c2 Get debugir to track upstream again 2021-08-31 11:36:48 +01:00
Anton-4
03bc8acf0e Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-gen-test 2021-08-31 12:33:41 +02:00
Anton-4
3f148fe4eb removed wasm tests relying on unreleased zig version 2021-08-31 12:33:22 +02:00
Richard Feldman
71a678c092 Update Dict.walk to match List.walk 2021-08-30 23:05:15 -04:00
Richard Feldman
91165e1230 Fix a README 2021-08-30 23:00:50 -04:00
Richard Feldman
36feb76af9 Fix List.walk tests 2021-08-30 23:00:43 -04:00
Richard Feldman
1abebb7713 Reorder args for List.walk and friends 2021-08-30 22:45:10 -04:00
Richard Feldman
b4e4ae2ff3 Update docs for List.walk and friends 2021-08-30 22:45:03 -04:00
Richard Feldman
b39077c1f3
Merge pull request #1641 from rtfeldman/fix-nix-on-mac-os
Fix nix on mac os
2021-08-30 18:57:50 -04:00
Ju Liu
7290139512 Merge branch 'trunk' into fix-nix-on-mac-os 2021-08-30 22:54:25 +01:00
Ju Liu
96b3b245fe Fix debugir compilation on Mac OS 2021-08-30 22:50:39 +01:00
Ju Liu
b9281bd181 Only install glibc_multi on Linux
Mac OS does not support it
2021-08-30 22:45:40 +01:00
Folkert de Vries
fc8fafbac8
Merge branch 'trunk' into wasm-gen-test 2021-08-30 21:53:50 +02:00
Folkert
c7930cbbd5 drop wasmtime dependency 2021-08-30 21:43:58 +02:00
Anton-4
3c858cff96 updating TLD value name works! 2021-08-30 19:49:47 +02:00
Folkert
7aa4cce895 fix repl, provide roc_panic 2021-08-30 17:50:33 +02:00
Anton-4
6c889b35b9 no more compile errors 2021-08-30 13:33:33 +02:00
Richard Feldman
8bf184aca7
Merge pull request #1636 from rtfeldman/drop-cxx
Drop some more C++ references
2021-08-29 23:10:49 -04:00
Folkert
2e91914443 use zig wasm-ld 2021-08-30 00:18:01 +02:00
Folkert
b416e854ef Merge remote-tracking branch 'origin/trunk' into wasm-gen-test 2021-08-29 23:14:03 +02:00
Folkert
ca227a58aa clippy 2021-08-29 23:13:40 +02:00
Folkert
4d53b60c02 fix use after move 2021-08-29 23:11:16 +02:00