Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ch1n3du/lox-one
A (hopefully) blazingly fast tree-walk interpreter in Rust.
https://github.com/Ch1n3du/lox-one
Last synced: about 1 month ago
JSON representation
A (hopefully) blazingly fast tree-walk interpreter in Rust.
- Host: GitHub
- URL: https://github.com/Ch1n3du/lox-one
- Owner: ch1n3du
- License: mit
- Created: 2022-06-03T10:14:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T20:37:19.000Z (about 2 years ago)
- Last Synced: 2024-08-02T05:23:16.798Z (4 months ago)
- Language: Rust
- Size: 143 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - lox-one - A (hopefully) blazingly fast tree-walk interpreter in Rust. (Rust)
README
# lox-one
This is simple tree-walking interpreter for the Lox language.
This repo implements the jlox interpreter from the great [Crafting Interpreters](http://craftinginterpreters.com/) book by the awesome [Bob Nystrom](https://github.com/munificent).
## Progress
- [x] Scanner
- [x] Parser
- [x] Environment
- [x] Variables
- [x] Conditionals `if/else`
- [x] Loops (`for` and `while` loops)
- [x] Functions (first-class, closures)
- [x] Resolver
- [ ] Classes
- [ ] Inheritance## Later Ideas
I think if I can get done with the book I will add:
- [ ] Lists
- [ ] Hashmaps
- [ ] Operator Overloading
- [ ] TypeScript style type-checking