watib

source contact issue tracker documentation

Watib (WebAssembly Toolchain In Bigloo) is a (WIP) WebAssembly toolchain. It aims at being user friendly and fast. We currently support a big part of the current draft of the version 3 of the standard. See here for more details on what is currently missing.

Building

To build watib, a working bigloo distribution is required. You can, then, build it with:

$ make

Using

Once built, watib can be called on a WebAssembly Text file to validate, optimise and convert it to binary format. It supports several options:

Overview

The source code consists of the following directories:

The functions in the first four directories are more or less straightforward transcriptions of the spec. The code is annotated with the positions in the spec it implements (the precision of the annotations depends on the subtlety of what is being implemented).

Missing

Watib doesn't support the following features yet (the list may be incomplete):

If you want to use watib and need one of these, feel free to raise an issue or send an email at aghilas.boussaa@normalesup.org.

Acknowledgement

Thanks to Manuel Serrano who wrote the Bigloo compiler, became the first user and provided help, feedbacks and the internship which led to watib. Thanks to Andreas Rossberg for his reactivity and valuable knowledge concerning doubts on the specification and Wasm more generally.