/crafting-interpreters

The residue of me working through Crafting Interpreters by Robert Nystrom

Primary LanguageC

Crafting Interpreters

This repo contains two interpreters for a variant of lox, based on the book Crafting Interpreters.

The first is a port of the Java tree-walking interpreter to TypeScript. Aside from bugs it's very similar, but makes a few changes due to some language differences between Java and TypeScript.

The second is the book's C interpreter, minus bugs and plus a cmake build.

Each project has a brief README which should give some hints on getting them running, if you so choose.