SkillAgentSearch skills...

Jlox

A Java implemetation of the tree-walk Lox interpreter from craftinginterpreters.com.

Install / Use

/learn @ryanq/Jlox
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

jlox

jlox is a Java implementation of the tree-walk interpreter from the Crafting Interpreters book.

Code Organization

The code is organized so that each chapter is on its own branch. At the end of each chapter, the branch merges with master. Any challenges that get done are coded on the chapter branch after the merge:

^ * b44819c (chapter-4) Challenge 4.4 Nested Block Comments
| * 6bbaa10 Challenge 4.4 Block Comments
|/
*   2d553a0 (master) Chapter 4
|\  
| * 10e3b6b 4.7 Reserved Words and Identifiers
| * 3166716 4.6 Longer Lexemes
| * 3474e6d 4.5 Recognizing Lexemes
| * 17226fa 4.4 The Scanner Class
| * ffa1b07 4.2 Tokens and Lexemes
| * f704cb4 4.1 The Interpreter Framework
|/  
* 3893584 Set up initial Gradle project

Running

Clone the project to a local directory. Building and running are done using just:

git clone https://github.com/ryanq/jlox
cd jlox
just build
./jlox script.lox
./jlox

Related Skills

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated1mo ago
Forks8

Languages

Java

Security Score

95/100

Audited on Feb 25, 2026

No findings