WebAssembly Reference Manual
Clone or download
sunfishcode Fix the definition of `body_size` to include the size of the locals. (#9
)

Also, rename the `body` field to `instructions`, since we define
"function body" as a construct which includes the size, locals and
the instructions.

Fixes #8.
Latest commit 467fc53 Aug 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Sep 4, 2016
README.md Updated README to encourage contribution (#5) Dec 22, 2017
WebAssembly.md Fix the definition of `body_size` to include the size of the locals. (#9 Aug 23, 2018

README.md

WebAssembly Reference Manual

This project contains a human-readable WebAssembly reference manual document written in Markdown. It is intended as an alternative to the official WebAssembly specification, which is organized around a particular approach to language specification, rather than on explanation. If you want to know how the WebAssembly runtime works, are writing a compiler, or want to try writing WebAssembly by hand (in text format), this manual is a good starting point.

Contribution

This is not the official WebAssembly specification, and as a result, will not be updated by the W3C working group as the specification evolves. For that reason, contributions are most welcome.

This work is public domain, and distributed under the CC0 1.0 Universal licence.

Current issues

Github-flavored Markdown is almost just powerful enough for this use case; the main things it lacks are automatic tables of contents and convenient term definitions, however the advantages in simplicity and convenient workflows partly make up for that.

Known deficiencies are marked with TODO comments. Corrections and contributions are welcome!