tvl-depot/users/tazjin/rlox
Vincent Ambo 050a2b473c refactor(tazjin/rlox): Introduce newtypes for various indices
Since this code is essentially a fairly plain translation from C, it
is a bit confusing to deal with the original untyped code. This is an
attempt to try and clean some of it up.

Change-Id: Icd21f531932e1a811c0d6dbf2e9acba61ca9c45d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3734
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
2021-10-20 12:50:36 +00:00
..
examples feat(tazjin/rlox): Support local variables 2021-10-19 12:58:43 +00:00
src refactor(tazjin/rlox): Introduce newtypes for various indices 2021-10-20 12:50:36 +00:00
.gitignore feat(tazjin/rlox): Bootstrap program 2020-11-23 01:15:57 +00:00
Cargo.lock feat(tazjin/rlox): Bootstrap program 2020-11-23 01:15:57 +00:00
Cargo.toml feat(tazjin/rlox): Bootstrap VM for Lox bytecode 2021-01-17 21:17:54 +00:00
default.nix refactor: Move nixpkgs attribute to third_party.nixpkgs 2021-04-10 21:18:55 +00:00
README.md feat(tazjin/rlox): Bootstrap program 2020-11-23 01:15:57 +00:00
rustfmt.toml style(tazjin/rlox): Set max_width=80 2021-02-27 13:05:18 +00:00

This is an interpreter for the Lox language, based on the book "Crafting Interpreters".

The book's original code uses Java, but I don't want to use Java, so I've decided to take on the extra complexity of porting it to Rust.

Note: This implements the first of two Lox interpreters.