Skip to content

java source code for the great book "Crafting Interpreters" by Robert Nystrom

License

Notifications You must be signed in to change notification settings

chrisHchen/crafting_interpreters

Repository files navigation

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

About

java source code for the great book "Crafting Interpreters" by Robert Nystrom

Topics

Resources

License

Stars

Watchers

Forks

Languages