shinh / elvm

EsoLangVM Compiler Infrastructure
MIT License
1.13k stars 143 forks source link

Add WebAssembly target #55

Closed dubek closed 6 years ago

dubek commented 6 years ago

This backend generates WebAssembly Text format (.wat). It then uses the wat2wasm tool from the WebAssembly Binary Toolkit (https://github.com/WebAssembly/wabt) to translate it to the WebAssembly Binary format (.wasm).

Running the binary wasm files requires NodeJS 8.0 or later.

shinh commented 6 years ago

Great, thanks!