# Enter the src dir
cd src/jlox/lox
# Compile all java files
javac -d . *.java
# Now class files should be under ./craftinginterpreters/lox
java craftinginterpreters.lox.Lox
Crafting interpreters at https://craftinginterpreters.com/
# Enter the src dir
cd src/jlox/lox
# Compile all java files
javac -d . *.java
# Now class files should be under ./craftinginterpreters/lox
java craftinginterpreters.lox.Lox
Crafting interpreters at https://craftinginterpreters.com/