A CHIP-8 interpreter separates VM execution from the interactive runtime that handles keyboard input and graphical output. Keeping the VM in its own Zig module also avoids giving it the runtime’s heavier dependency and can speed up test compilation. section 6.3.1
$ tree
.
├── build.zig
└── src
├── tests.zig
└── vm.zig
2 directories, 3 files
The file tree shows the VM and tests as separate source files. section 6.3.1
