Skip to content

4n12i/rslox

Repository files navigation

rslox

Rust implementation of an interpreter for the Lox programming language

Usage

Run prompt:

cargo run 

Run a lox file:

cargo run  -- examples/hello.lox

With debug log:

RUST_LOG=debug cargo run

Implementation

  • Scanning
  • Representing Code
  • Parsing Expressions
  • Evaluating Expressions
  • Statements and State
  • Control Flow
  • Functions
  • Resolving and Binding
  • Classes
  • Inheritance

Reference

Crafting Interpreters

License

MIT

About

Rust implementation of a Lox interpreter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published