Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 525 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 525 Bytes

Java implementation of Lox language interpreter

Created following Robert Nystrom's awesome book Crafting interpreters.

Additionally, I added support for break statement, multiline comments signified with delimiters /* and */, modulo operator with % and changed truthiness behavior for a more JavaScript-inspired one: nil, number literals equal to 0, and string literals with length equal to 0 (declared with "") are all evaluating to false.

Project uses Java SDK 11.0.13