Free software1 sections · 2 min readBy Dezső Mező.mdFree softwareVolyx
Volyx is a complete miniature compiler that takes source code all the way to a running stack machine. The signature pipeline is a tokenizer feeding a recursive-descent parser, then a single-pass bytecode compiler doing slot resolution, constant interning, and back-patched jumps, ending in a 22-opcode stack VM - with tests confirming it agrees with an independent tree-walking interpreter. It is a from-scratch, dependency-light build you can download and run locally.
01About the app
Compilers
What to take away
- A full pipeline - tokenizer → recursive-descent parser → single-pass bytecode compiler (slot resolution, constant interning, back-patched jumps) → 22-opcode stack VM. 18 tests, including agreement with an independent tree-walking interpreter.
- Download: Volyx (ZIP)
More from the lab
Browse all entries- Sylex: Make sense of the slashes
- Kindra: Miss a beat, not the rhythm
- Voxara: Argue better. Lose gracefully
- Wraithward: Spot the bait before you bite
Want this looked at on your own system?Start a conversation
