Skip to content
/ golox Public

golox is a tree-walk interpreter for the Lox programming language implemented in Go

Notifications You must be signed in to change notification settings

doeg/golox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golox

golox is a tree-walk interpreter for the Lox programming language.

Local development

To start a REPL:

make repl

To build the binaries and make them globally available:

make install
golox

To build a binary into the local build/ folder:

make build
./build/golox

To run the tests:

make test

To regenerate the generated files (e.g., ast.go):

make generate

About

golox is a tree-walk interpreter for the Lox programming language implemented in Go

Topics

Resources

Stars

Watchers

Forks