wast2wasm
wast2wasm copied to clipboard
Rewriting wast2wasm in JS
This library is huge. I need to use it in my project and I can not afford such size.
I guess it was compiled from some other source (it simulates the whole model of some low-level computer). I believe it could be written in 10 kB of JS code. E.g. there is a parser of JS acorn.js , that has 100 kB. WAST has much simpler syntax than JS.
Would you be interested in rewriting wast2wasm in JS?
i don't have the time ATM, but that would be nice
I think the better solution is to do it at https://github.com/ewasm/wasm-json-toolkit/issues/19 and then perhaps make this package a wrapper over wasm-json-toolkit or just to retire it.