silvanias / jlox

A tree-walk interpreter in Java for the programming language Lox, designed by Robert Nystrom.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jlox Tree Walk Interpreter

This project follows along the textbook "Crafting Interpreters" by Robert Nystrom.

The project currently supports basic mathematical operations and boolean comparison.

Run Locally

Clone the project

  git clone https://github.com/sikorosenai/jlox.git

Go to the project directory

  cd jlox/lox

Compile it

  javac lox/Lox.java -d build

Run the REPL env

  cd build
  java lox/Lox

Running Tests

To run tests, run the following command

  Good luck. They work trust me.

About

A tree-walk interpreter in Java for the programming language Lox, designed by Robert Nystrom.


Languages

Language:Java 100.0%