Skip to content

ziqin/lox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lox

Lox is a programming language designed by Robert Nystrom for his book titled Crafting Interpreters. I'd like to express my gratitude to Nystrom for his wonderful work.

This repository contains code that I typed down when reading Nystrom's book. It contains two parts:

  • jlox: a Lox interpreter written in Java
  • clox: a Lox interpreter written in C

Most of the lines of code are directly from the book, while others are my own solutions to some of the challenges in the book. Comments are either sentences from the text of the book or my personal understanding of the content.

Licenses

To comply with Nystrom's original license, the comments in the source files (.java, .c, and .h) are licensed under the CC BY-NC-ND 4.0 License. Other contents are under the MIT License.

About

Code from “Crafting Interpreters”

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors