Y
Hacker News
new
|
ask
|
show
|
jobs
by
tyushk
525 days ago
The WebAssembly reference interpreter [0] has a JS library that lets you do this.
let wast = require("./wast.js"); let binary = wast.WebAssemblyText.encode("(module)");
[0]
https://github.com/WebAssembly/spec/tree/main/interpreter#ja...