Internet Engineering
Fall 2026 ยท
Amirkabir University of Technology
@1995parham
Scroll the slides behind this box, or open the PDF.
.wat file to .wasm, first install
wabt, then run the
commands below in your terminal. More detailed help is on the wabt GitHub
page.
# parse and typecheck test.wat
$ bin/wat2wasm test.wat
# parse test.wat and write to binary file test.wasm
$ bin/wat2wasm test.wat -o test.wasm
# parse spec-test.wast, and write verbose output to stdout (including the
# meaning of every byte)
$ bin/wat2wasm spec-test.wast -v
