This repository is the companion to the book Crafting Interpreters. It contains the full source code for two interpreters (one in C and one in Java), the Markdown source of the book, the tooling to weave prose and code into a website, and build scripts to generate the executable interpreters. The book aims to teach from the ground up how to build a full-featured scripting language (called Lox) with parsing, AST, compiler / VM, garbage collection, classes, and more.
Features
- Full interpreter implementation in C (clox)
- Full interpreter / bytecode VM in Java (jlox)
- Markdown source of book chapters and text prose
- Static site generator tooling to compose book + code into HTML
- Test suite infrastructure for the interpreters
- Build scripts / Makefile orchestration (build book, run interpreters, generate site)
Categories
Programming LanguagesFollow Crafting Interpreters
nel_h2
Get the most trusted enterprise browser
Defend against security incidents with Chrome Enterprise. Create customizable controls, manage extensions and set proactive alerts to keep your data and employees protected without slowing down productivity.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Crafting Interpreters!