elixir-wasm

Functions and types for the WASM binary format (similar in purpose to elixir-estree). Note it doesn't translate Elixir to WASM but enables the possibility. See ElixirScript for progress on that front.

Install

Add it to as a mix.exs dependency:

{:wasm, "~> 0.1.0"}

Documentation

See the Hexdocs.

Testing

You must have WABT to run mix test. It uses wat2wasm to compare WAT-compiled WASM and Elixir-compiled WASM.

You can find the binaries at _build/test/*.wasm to use with WABT tools, hexdump, xxd, etc.