Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
/ rulox Public archive

Implementation in Rust of lox, the language described in Crafting Interpreters

License

Notifications You must be signed in to change notification settings

mariosangiorgio/rulox

Repository files navigation

rulox

A lox interpreter written in Rust Build Status Coverage Status

http://www.craftinginterpreters.com

Interactive mode

Just execute rulox and type instructions in the REPL

Scripted mode

Pass a lox source file as the first parameter to rulox. E.g. rulox hello_world.lox.

Development

Rulox only uses the standard Rust toolchain so you can get up and running just invoking cargo. If you want to produce an executable just use cargo build release. If you're developing you might be interested in cargo test, which runs all the unit tests, cargo fmt --, to make sure the code follows the standard formatting, and rustup run nightly cargo clippy for some extra check by the linter.

About

Implementation in Rust of lox, the language described in Crafting Interpreters

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages