Fiddling around with wasm binary format
This is an experimental repository where I'm desperately (or not so) trying to comprehend the internal structure of WASM and hopefully make something good out of it.
- Types Section
- Function Section
- Table Section
- Global Section
- Export Section
- Start Section
- Element Section
- Code Section
- Data Section
- Define all existing instructions in an informative way (its name, number of input params)
- Dump module's code in the form of bytecode instructions (sort of debug function)
- Write a basic wasm interpreter that interprets addition program
I decided to make it my university research project, so it means rendering this project alive again! Currently, I'm actively involved in comprehending insides of WASM by means of tinkering with my fork of wagon interpreter.
Bringing the Web up to Speed with WebAssembly
A fast in-place interpreter for WebAssembly
WebAssembly: The Definitive Guide
WASM opcode table
wazero Runtime
My reference WASM manual