Skip to content

An attempt at learning how to write a programming language from scratch, with the help of this amazing book: https://craftinginterpreters.com/

Notifications You must be signed in to change notification settings

brymer-meneses/Lox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lox

Introduction

This is my attempt at implementing a tree-walker interpreter for the Lox Programming Language using Rust! I originally wanted to write this using only C, but my lack of experience on manual memory management and low level languages demotivated me in continuing to pursue this path. You can still find the source code here.

This project is the result of reading through the first part of this amazing book: Crafting Interpreters.

At first, I wanted to code along with the book using Java, but as I read through it, I found myself mindlessly copying code without understanding anything, so I decided to use another programming language to follow the book.

Building

To build this application, you will need to install the Rust Toolchain. Then, clone this repo, ensure you're on the root-directory of this project, and run the following command.

cargo run

About

An attempt at learning how to write a programming language from scratch, with the help of this amazing book: https://craftinginterpreters.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages