TinyVM
lastmod 2026-11-10created 2019-03-042 edits
TinyVM is a small, fast virtual machine written in pure ANSI C that reads and interprets programs written in its own assembly language. It has only a minimal instruction set, with registers, a stack, and branch and arithmetic instructions, and no external dependencies, so the entire source is short; it is used as a reference for studying how interpreters and virtual machines work, or for embedding a lightweight script runner in embedded environments. It is closer to an educational project than to a general-purpose VM for practical use.
TinyVM is a small, fast, lightweight virtual machine written in pure ANSI C.