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