WebAssembly specification, reference interpreter, and test suite.
This repository contains the official WebAssembly specification, reference interpreter, and test suite. The specification itself is authored by the WebAssembly community and is built using Sphinx and Bikeshed documentation tools, with support for generating multi-page HTML, single-page HTML, and PDF formats. The reference interpreter is written in OCaml 4.12 or higher and can decode, parse, validate, and execute WebAssembly modules in both binary and text (S-expression) formats; it also supports conversion between formats, interactive mode, and compilation to JavaScript via js_of_ocaml. The project includes comprehensive specifications for core WebAssembly, legacy exception handling, and code metadata, along with a complete test suite and detailed documentation of the S-expression syntax used throughout.