wasm icon indicating copy to clipboard operation
wasm copied to clipboard

wasm assembler

Open pannous opened this issue 7 years ago • 4 comments

Is there also a python wasm assembler somewhere, so that we can write back the modified AST?

pannous avatar Jan 16 '17 20:01 pannous

None that I know of. I do plan on adding assembler support to this lib in the future (hence the module name "wasm", not "dewasm" or "diswasm"), but that probably won't happen before the WebAssembly specification itself reaches its MVP milestone.

athre0z avatar Jan 18 '17 10:01 athre0z

Great!

Did you have luck with the js side assembler (not the binary wasm) Looks like it is somehow buried in binaryan, or maybe I have to write a ffi wrapper. Could be helpful for your endeavors as well, if only to get inspiration.

pannous avatar Jan 18 '17 10:01 pannous

Haven't looked into it, sorry. Now that WebAsm will soon be completed and adapted in mainstream-browsers, it'd be a waste of time to look into the old, hacky asm.js stuff that it aims to replace IMHO.

athre0z avatar Jan 19 '17 11:01 athre0z

agreed, though I thought that binaryan will be part of the mainstream pipeline to generate WebAsm.

On Jan 19, 2017, at 12:10 PM, Joel Höner [email protected] wrote:

Haven't looked into it, sorry. Now that WebAsm will soon be completed and adapted in mainstream-browsers, it'd be a waste of time to look into the old, hacky tech that it aims to replace IMHO.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/athre0z/wasm/issues/1#issuecomment-273747708, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfgFvFoeLLWeP19A5OCqzQ8LGrBhtCPks5rT0SLgaJpZM4Lk9Ak.

pannous avatar Jan 19 '17 11:01 pannous