Preview of Lox Compiler VisualizerOpen shivfitzpatrick.com

shivfitzpatrick.com/visualizers

Lox Compiler Visualizer

Interactive tool showing step-by-step lexing, parsing, compilation, and execution of Lox source code, based on Crafting Interpreters.

Visit project

Show me a random project

First shared
Oct 20, 2026
HN activity
10

Show HN@shivfitzpatrickOct 20, 2026

Show HN: Lox Language Visualizer Based on Crafting Interpreters

While reading the book Crafting Interpreters I found myself trying to imagine the material from the book visually. After finishing the book I built this tool to do just that! It shows various phases of the interpreter from lexing to parsing to vm instructions with some UI to show you how each step leads to the next. Enjoy!

Community

Hacker News discussion

Loading the thread…