Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 689 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 689 Bytes

Introduction


This repo is my Java programming exercise for this great book Crafting Interpreters by Robert Nystrom.

it contains a java interpreter (jlox) to parse and execute a dynamically typed language called "Lox", whose syntax is very much like javascript.

Feel free to clone and play with it.

usage

Run Lox.class from the command line and give it a path to a Lox source file, it reads the file and executes it.

Or Run Lox.class and returns an interactive command-line app that reads a line of input from the user.

License


MIT