/rlox

Lox Interpreter/REPL written in Rust

Primary LanguageRustMIT LicenseMIT

rlox Build Status

Lox Interpreter/REPL written in Rust.

Install

git checkout https://github.com/rodaine/rlox.git
cd rlox
cargo install

rlox            # starts the REPL
rlox script.lox # interprets the file

Development

# linting - clippy is somewhat unstable
rustup run nightly cargo install clippy
rustup run nightly cargo clippy

# unit tests
cargo test --verbose