Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notheotherben/lox
An implementation of the Crafting Interpreters language Lox in Rust
https://github.com/notheotherben/lox
craftinginterpreters rust
Last synced: 8 days ago
JSON representation
An implementation of the Crafting Interpreters language Lox in Rust
- Host: GitHub
- URL: https://github.com/notheotherben/lox
- Owner: notheotherben
- Created: 2022-05-19T20:26:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T15:46:08.000Z (6 months ago)
- Last Synced: 2024-11-09T02:34:22.349Z (2 months ago)
- Topics: craftinginterpreters, rust
- Language: Rust
- Homepage:
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lox
**A Rust implementation of the Crafting Interpreters language Lox**
This repository contains a Rust implementation of the Lox language as
described in [Crafting Interpreters](https://craftinginterpreters.com/).
It attempts to remain relatively faithful to the book's implementation,
while also taking advantage of Rust's idiomatic approach to solving certain
problems.## Usage
This repository contains two Rust binaries: `loxi` and `loxc` which correspond
to the interpreted and compiled versions of the Lox language respectively.```bash
# Run the loxi binary
cargo run --bin loxi# Run the loxc binary
cargo run --bin loxc
```