Skip to content

wasm2assemblyscript? #45

Description

@ArcaneEngineer

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions