This is a simple implementation of the Lox programming language interpreter in Java, based on the book "Crafting Interpreters" by Robert Nystrom.
src/lox/Lox.java: Entry point and main runner for the interpreter.Scanner.java: Tokenizes the source code.Token.java: Represents individual tokens.TokenType.java: Enum for all token types.
-
Compile the source files:
javac -d bin src/lox/*.java