Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Ch1n3du/lox-one

A (hopefully) blazingly fast tree-walk interpreter in Rust.
https://github.com/Ch1n3du/lox-one

Last synced: about 2 months ago
JSON representation

A (hopefully) blazingly fast tree-walk interpreter in Rust.

Awesome Lists containing this project

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