Charles Childers

blog | parable | retro | ios apps | fountain pens

Nga: a Stack Oriented Virtual Machine

Nga is a lightweight, stack based virtual machine with a MISC inspired instruction set. It's intended as a successor to Ngaro, the VM behind Retro.


All code, documentation, and binaries are provided under the ISC License.

The core Nga toolchain includes the virtual machine, an assembler, a Forth-style preprocessor, build tools, and example interface layer showing custom instructions and I/O functionality. This is all written in C. There is also a disassembler written in Python 3.