Skip to content

My rendition of the Lox programming language, written in go

Notifications You must be signed in to change notification settings

drewhayward/glox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glox Interpreter

A golang implementation of the Lox language from Crafting Interpreters by Robert Nystrom.

Why Go? I don't care for Java, wanted to learn Go, and didn't want to copy code snippets directly from the book.

Test

Use environment variables to update or clean snaps. UPDATE_SNAPS=true or UPDATE_SNAPS=clean respectively.

go test -v ./...

Build

go build

Run

./glox examples/fib.lox

About

My rendition of the Lox programming language, written in go

Resources

Stars

Watchers

Forks