ziqin / lox

Code from “Crafting Interpreters”

Home Page:https://craftinginterpreters.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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”

https://craftinginterpreters.com/


Languages

Language:C 56.5%Language:Java 43.0%Language:Makefile 0.5%