The wasm-as Tool
Learn how to use the wasm-as tool to convert WebAssembly text format into WebAssembly binary format.
We'll cover the following...
The wasm-as
tool converts WAST into WASM. Let’s look at the steps:
Let’s create a new folder, called
binaryen-playground
, and go into the folder:
Press + to interact
mkdir binaryen-playgroundcd binaryen-playground
Create a
.wat
file calledadd.wat
:
Press + to interact
touch add.wat
...