wat2wasm
Convert a file from the WebAssembly text format to the binary format. More information: https://github.com/WebAssembly/wabt.
-
Parse and check a file for errors:
wat2wasm {{file.wat}}
-
Write the output binary to a given file:
wat2wasm {{file.wat}} -o {{file.wasm}}
-
Display simplified representation of every byte:
wat2wasm -v {{file.wat}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.