Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm2assemblyscript? #45

Open
ArcaneEngineer opened this issue Apr 23, 2024 · 0 comments
Open

wasm2assemblyscript? #45

ArcaneEngineer opened this issue Apr 23, 2024 · 0 comments

Comments

@ArcaneEngineer
Copy link

ArcaneEngineer commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant