MikeInnes / WebAssembly.jl

Other
83 stars 11 forks source link

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

Open ctzurcanu opened 4 years ago

ctzurcanu commented 4 years ago

How is this supposed to be used?

I found nothing in the documentation on this.

MikeInnes commented 4 years ago

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.

ctzurcanu commented 4 years ago

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.