All Projects → mariosangiorgio → rulox

mariosangiorgio / rulox

Licence: MIT license
Implementation in Rust of lox, the language described in Crafting Interpreters

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rulox

Craftinginterpreters
Repository for the book "Crafting Interpreters"
Stars: ✭ 4,298 (+7310.34%)
Mutual labels:  lox
rlox
A rust interpreter for the Lox language
Stars: ✭ 17 (-70.69%)
Mutual labels:  lox
rlox
Lox Interpreter/REPL written in Rust
Stars: ✭ 31 (-46.55%)
Mutual labels:  lox
slox
Swift implementation of a Lox interpreter
Stars: ✭ 39 (-32.76%)
Mutual labels:  lox
locks-py
Python implementation of locks, which is an imperative, dynamically typed, procedure oriented scripting language based on the lox programming language.
Stars: ✭ 29 (-50%)
Mutual labels:  lox

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].