WASM to BEAM compiler and embedder