Expand description
Implementing something on top of wasmparser is slightly tedious due to the number of operations that it can parse, usually
resulting in either a huge match statement, or several match statements which each process some subset of the operations and
then have a catchall unreachable!() statement. This crate provides a middleground: a hierarchy of operations, split by proposal,
allowing you to exhaustively match firstly on the proposal, and then secondly on the operation.
To start, use OperatorByProposal::from(op: wasmparser::Operator), or the equivalent Into implementation.
§Versioning
This crate aims to match versions with wasmparser, since the code in this crate is generated from wasmparser’s supported
operations.
Modules§
Enums§
- OpCode
- All possible WebAssembly instruction opcodes across all proposals supported by
wasmparser. - Operator
ByProposal - A hierarchy of all WebAssembly operations, split by proposal.