Skip to content

Niklas-Mezynski/rlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A rust based interpreter for the Lox language

This is my attempt of creating a rust based interpreter for Lox. A language created for learning everything about compilers/interpreters/VMs - whatever you want to call it. Everything in here is based on the wonderful book Crafting Interpreters by Robert Nystrom.

In Chapter II of that book, he creates this exact same Lox interpreter in Java and I thought it would be a fun challenge to do so in Rust. I am still learning rust and still have to optimized some things here and there... but ey, it works!

Instruments

First build the binary (either debug or release)

cargo build

Then sign the App and use it in Instruments.app

codesign --force --sign - --entitlements debug.entitlements --timestamp=none ./target/debug/rlox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages