...

/

The wasm-as Tool

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:

  1. Let’s create a new folder, called binaryen-playground, and go into the folder:

Press + to interact
mkdir binaryen-playground
cd binaryen-playground
  1. Create a .wat file called add.wat:

Press + to interact
touch add.wat
...