Lox Compiler Visualizer
www.shivfitzpatrick.com- Category
- Education
- Type
- TOOL
- Date
About
An interactive web tool that shows how Lox source code is lexed, parsed, compiled to bytecode and executed, built after reading Crafting Interpreters. Clicking a token, syntax tree node or bytecode instruction highlights the matching items in the other panels, and a playback bar steps through execution with the stack shown at each step. The bytecode VM is clox compiled to WebAssembly.
Tags
loxcompilersinterpretersvisualizationwebassemblycrafting-interpreters
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.