Abhinav Sarkar

Abhinav Sarkar

@abhinavsarkar

A Tiny Bytecode VM for Arithmetics in Haskell

Submitted Apr 8, 2025

We’ll 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.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

The homepage for the Indian Functional Programming community