Wouldn't it be easier to just use emscripten to compile the current C code directly to wasm? I mean, it would probably be a smaller undertaking to create the necessary bindings/plugins for emscripten than to generate wasm code directly from VMMaker and rewrite the platform code. Levente