A WebAssembly AST, parser, and assembler in Haskell for use in functional compiler backends targeting WebAssembly.
Warning, still a big work in progress.
Core modules
- Entry - Driver
- Syntax - Frontend AST
- Parser - Parser
- Lexer - Lexer
- Pretty - Textual Format
- Binary - Binary Format
- Test - Test suite
import Language.Wasm.Syntax
import Language.Wasm.Binary
import Language.Wasm.Parser