parity-wasm
parity-wasm copied to clipboard
Disassembler?
Hi all,
I want to write a disassembler that turns compiled wasm back into wast code reversibly; I don't want to just use the official wasm2wast
because I'm going to be integrating it into a Rust program.
I'm going to be using your serialization and deserialization routines and types no matter what, so, do you want me to write it as part of this crate and PR it back to you, or should I just make it a separate crate?
Thanks.
Hi!
I think separate crate is more logical solution to this, but it may be hosted in this repo, so that the ci is shared
You aware that wast
is called wat
now, right? :)
Will be happy to accept PR
All right, thanks! I'll start out by making it a library based on this crate.
...and yeah, but lots of things still call it wast
, I suppose. Oh well.
@icefoxen you might be interested in wabt-rs. It contains wasm2wat
that might work for you.