Overview of Wasm SpecTec
mainWasm SpecTec is a domain-specific language (DSL) designed for the formal specification of WebAssembly. It provides a unified source for reading, writing, and code-reviewing specifications, while enabling the generation of various artifacts through dedicated backends, such as:
- Latex: For formal specification documents.
- Prose: For pseudo-algorithms.
- Coq/Isabelle: For formal mechanization.
- Interpreter: A reference interpreter.
- Test Suite: To exercise individual rules.
The language supports generic syntax for uninterpreted hint annotations that backends can hook into.