Skip to content

lagerfeuer/jlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jlox

Java implementation of Lox from the book Crafting Interpreters.

Run

mvn package
./jlox.sh

Changes compared to the book

  • Scanner is called Lexer
  • Generate AST is written in Groovy and executed during the generate-sources stage
  • print is a builtin function, not a statement
  • Resolver is called ResolverPass to indicate it's a pass
  • Added Qualifier enum for function/method qualifiers like static
  • Inheritance uses : instead of <

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published