WebAssembly.jl icon indicating copy to clipboard operation
WebAssembly.jl copied to clipboard

https://github.com/MikeInnes/WebAssembly.jl/blob/master/src/interpret.jl

Open ctzurcanu opened this issue 4 years ago • 2 comments

How is this supposed to be used?

I found nothing in the documentation on this.

ctzurcanu avatar Jun 01 '20 11:06 ctzurcanu

The short answer is "it isn't". We have a very basic interpreter that acts as a sanity check for some of our code generation, but it isn't complete and doesn't have a formal public API.

Still, you can see some usage examples in the tests. If someone wanted to make the interpreter more complete and polished I'm sure we'd be open to it.

MikeInnes avatar Jun 01 '20 12:06 MikeInnes

Thank you. I already saw the tests, but I was unable to understand from them how to use the interpreter. And I would have liked to help with making a wasm bytecode parser, but I have a hard time to get started.

ctzurcanu avatar Jun 01 '20 18:06 ctzurcanu