Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Rewriting wast2wasm in JS #8

Open
photopea opened this issue Jul 27, 2017 · 2 comments
Open

Rewriting wast2wasm in JS #8

photopea opened this issue Jul 27, 2017 · 2 comments

Comments

@photopea
Copy link

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?

@wanderer
Copy link
Member

i don't have the time ATM, but that would be nice

@axic
Copy link
Member

axic commented Jan 25, 2018

I think the better solution is to do it at ewasm/wasm-json-toolkit#19 and then perhaps make this package a wrapper over wasm-json-toolkit or just to retire it.

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

No branches or pull requests

3 participants