93c30b339c
This makes it possible to specify the input & output types of the binary_op macro. If only one type is specified, it is assumed that the input and output types are the same. Change-Id: Idfcc9ba462db3976b69379b6693d091e1a525a3b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2573 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
default.nix | ||
README.md | ||
rustfmt.toml |
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.