# Volyx: Source to stack

> 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.

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.

## About 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)

## Tags

Free software, Volyx

## Read the full write-up

/downloads/volyx.zip

## We build this for clients

https://dfieldsolutions.com/en/services/full-stack

## More from the lab

- https://dfieldsolutions.com/en/lab/sylex.md — Sylex: Make sense of the slashes
- https://dfieldsolutions.com/en/lab/kindra.md — Kindra: Miss a beat, not the rhythm
- https://dfieldsolutions.com/en/lab/voxara.md — Voxara: Argue better. Lose gracefully
- https://dfieldsolutions.com/en/lab/wraithward.md — Wraithward: Spot the bait before you bite

---

Source: https://dfieldsolutions.com/en/lab/volyx
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
