| Crates.io | wasmrepl |
| lib.rs | wasmrepl |
| version | 0.4.0 |
| created_at | 2023-09-19 05:35:06.725914+00 |
| updated_at | 2023-10-26 15:40:48.907817+00 |
| description | A REPL for Web Assembly |
| homepage | https://github.com/anoopelias/wasmrepl/ |
| repository | https://github.com/anoopelias/wasmrepl/ |
| max_upload_size | |
| id | 976519 |
| size | 244,844 |
Since Web Assembly's text format is close to Lisp, maybe an attempt to a REPL prompt is in order!
Demo:
func, so you can do, say an (i32.const 12). However, unlike the inside of a Wasm func, you can also define a new func on the prompt.To install, follow the below command,
$ cargo install wasmrepl
To check if installation is complete,
$ wasmrepl
>>
It should give you the REPL prompt. To exit the prompt, use Ctrl+D.
Some examples on how to use this is added in the blog post here.