wasm2assemblyscript?
ArcaneEngineer opened this issue · 0 comments
So far loving WABT, but it's missing a feature would be quite useful for me: WASM (or WAT) to AssemblyScript (de)compilation.
My workflow involves taking sources from different languages, transpiling these to WAT (via compilation to WASM) and looking at the generated WAT source and making further changes. So the WASMs I get from other languages, I would like to get into AssemblyScript, from whence I can compile and produce build artifacts. It is too easy to overwrite WAT files by mistake as they are generated all the time... and besides, it's not the most human-readable format. I'd rather have my sources as AssemblyScript.
Is there any WIP for this? It makes sense (?) that since AssemblyScript is closely associated with WebAssembly, there would be a tool like this already. But I can't find anything. I imagine the implementation would be quite similar to the existing wasm2c.