A Tiny Bytecode VM for Arithmetics in Haskell
In this talk, we write a tiny bytecode VM for arithmetics in Haskell, and learn how to:
- define arithmetic expressions,
- parse expressions,
- Interpret parsed expressions,
- compile parsed expressions to Opcodes,
- implement a VM for Opcodes,
- assemble/disassemble Opcodes to/from bytecode, and
- execute bytecode.
Abhinav Sarkar
April 09, 2025