Brian Carroll
|
731a227c61
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-parser-trait
|
2022-05-25 21:15:08 +01:00 |
|
Richard Feldman
|
0f140facda
|
Merge pull request #3127 from rtfeldman/www
Sync up changes from #3041
|
2022-05-24 13:00:02 -04:00 |
|
Brian Carroll
|
873d9d4e06
|
wasm: create separate steps for parsing the host and compiling the app
|
2022-05-22 20:49:16 +01:00 |
|
Brian Carroll
|
8114ec60c1
|
Start using Result to handle Wasm module parse failures
|
2022-05-22 09:36:33 +01:00 |
|
Brian Carroll
|
a80707209f
|
Fix Cargo.toml bug
|
2022-05-16 09:05:42 +01:00 |
|
Brian Carroll
|
65bbd85cc7
|
Disable wasm-opt by default and run it when needed
|
2022-05-16 09:02:43 +01:00 |
|
Brian Carroll
|
6a91e66192
|
Delete env var NO_ZIG_INSTALLED since Zig is now installed on Netlify
|
2022-05-15 12:57:37 +01:00 |
|
Brian Carroll
|
aaea254e8f
|
Pass precompiled host bytes to gen_wasm in CLI
|
2022-05-15 11:11:08 +01:00 |
|
Ayaz Hafiz
|
a9507cf917
|
Consolidate variable pretty printing
|
2022-05-10 11:24:41 -04:00 |
|
Ayaz Hafiz
|
3497237c99
|
Print recursion vars correctly
|
2022-05-10 10:40:37 -04:00 |
|
Brian Carroll
|
a663d335fc
|
repl_test: update build.rs to work with Zig 0.9 (like test_gen)
|
2022-04-11 14:19:56 +01:00 |
|
Folkert
|
79d7dd0cbf
|
make the wasm repl aware of capacity
|
2022-03-30 20:23:16 +02:00 |
|
Brian Carroll
|
42722608bd
|
repl_wasm: improve a comment
|
2022-03-27 09:24:15 +01:00 |
|
Brian Carroll
|
f36614d824
|
repl_wasm: add a console_log macro for browser debugging
|
2022-03-26 18:15:19 +00:00 |
|
Folkert
|
311e464b70
|
add load_internal
|
2022-03-23 15:18:22 +01:00 |
|
Brian Carroll
|
384a79ff84
|
Formatting
|
2022-03-17 10:50:30 +00:00 |
|
Brian Carroll
|
68222dfd50
|
repl: apply the relevant style codes in each REPL (web and terminal)
|
2022-03-17 09:46:52 +00:00 |
|
Brian Carroll
|
5b97823ba8
|
repl_wasm: prevent console_error_panic_hook slowing down non-wasm builds
|
2022-03-15 19:01:05 +00:00 |
|
Brian Carroll
|
be72439acc
|
repl_wasm: disable console_error_panic_hook for tests
|
2022-03-12 19:23:17 +00:00 |
|
Brian Carroll
|
4f7591f963
|
repl_wasm: forward Rust panics to JS console.error
I can't believe this isn't the default for wasm_bindgen, but it isn't!
|
2022-03-12 15:38:52 +00:00 |
|
Brian Carroll
|
45fd3d79a7
|
repl_www: include debug info in repl .wasm file, for useful stack traces
|
2022-03-12 15:28:50 +00:00 |
|
Richard Feldman
|
02ecb63b48
|
Add NO_ZIG_INSTALLED check to Netlify build
|
2022-02-28 20:51:18 -05:00 |
|
Brian Carroll
|
85ade20b80
|
Formatting
|
2022-02-26 13:45:35 +00:00 |
|
Brian Carroll
|
7719f0646e
|
repl_wasm: Graceful handling of invalid Wasm code gen
|
2022-02-26 13:12:52 +00:00 |
|
Brian Carroll
|
203fdab209
|
repl_wasm: rename modules interface -> externs
|
2022-02-26 13:12:52 +00:00 |
|
Brian Carroll
|
3537f90e6d
|
repl: get Str working properly in CLI and Wasm REPLs
|
2022-02-26 13:12:52 +00:00 |
|
Brendan Hansknecht
|
6968647cc5
|
update versions to lockfile
|
2022-02-25 11:41:05 -08:00 |
|
Brian Carroll
|
02889300d0
|
repl_test: 2 thread_locals to avoid mutable borrow issues. Tests running but very slow.
|
2022-02-20 22:59:16 +00:00 |
|
Brian Carroll
|
3b050d3e2a
|
repl_wasm: Finish interface to Wasmer. Compiles but throws runtime borrow error.
|
2022-02-20 20:38:14 +00:00 |
|
Brian Carroll
|
a4d83f6916
|
repl_test: developing wasm test setup
|
2022-02-20 09:03:59 +00:00 |
|
Brian Carroll
|
ef97ad69ae
|
repl_wasm: refactor external interface to support Wasmer tests
|
2022-02-19 18:24:18 +00:00 |
|
Brian Carroll
|
7eab8d840c
|
repl_wasm: delete console_log debug helper
|
2022-02-19 10:24:25 +00:00 |
|
Brian Carroll
|
5587fae4e6
|
repl_www: fix a bug in buffer alignment (transmuted slice had wrong length)
|
2022-02-18 17:42:49 +00:00 |
|
Brian Carroll
|
9244008d94
|
repl: implement console.log from Rust for debugging
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
f8ad09f6ab
|
repl: rename entrypoint from JS and remove unnecessary pub in Rust
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
9bfd0e44d6
|
repl: comments
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
bdff338319
|
repl: ignore Clippy rule broken by wasm-bindgen macro
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
2c8b957763
|
repl: Split repl_www from repl_wasm
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
c21b2bd0da
|
Formatting and Clippy
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
ff6b29dfe7
|
repl: first compiling version (untested)
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
0af4361f2a
|
repl: continue fleshing out the Wasm repl code. Generate wrapper function.
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
b969f207c4
|
repl: Cargo build script for repl_wasm, generating the pre-linked binary
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
e9871947d3
|
repl: move wasm32_test_result to gen_wasm, and extract Wasm32Sized from FromWasm32Memory
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
70e19053f0
|
repl: implement more of the JS/Wasm interface
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
3c6cb5bc19
|
repl: Separate traits for the app and its memory
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
8c3d272a78
|
repl: delete mock code and rename Wasm/Js interface functions
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
4e855f1094
|
repl: delete and move files in repl_wasm
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
e93e0bfbbd
|
repl: copy mock wasm repl from external repo git@github.com:brian-carroll/mock-repl.git
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
9ace2fd9a3
|
repl: delete app_memory and put "external memory" logic into repl_wasm
|
2022-02-02 23:08:12 +00:00 |
|