Skip to content

sudo97/hlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox Tree-Walk Interpreter

This project is an implementation of the Lox tree-walk interpreter from Crafting Interpreters. The original book uses Java for the first part, but what is a sane developer's Java? Haskell, of course! It would be nice to implement the second part, which is originally in C, in Rust. As we all know, a good developer's C is Rust.

Special Thanks

Special thanks to Serhii for all the support during this project.

Running the Project

This project uses Cabal, a build system for Haskell. To run the project, follow these steps:

  1. Install Cabal if you haven't already.
  2. Navigate to the project directory.
  3. Run cabal build to build the project.
  4. Run cabal run to execute the project.

Current Progress

These are the chapters from the book, I'll be using this to track progress:

Moving on to the JIT part in Rust!

About

Lox interpreter in Haskell (Tree-Walk)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published