README ¶ go-lox Bob Nystrom's Lox (from Crafting Interpreters) implemented in Go To run all tests: go test ./... To run the interpreter on a test file: go run main.go -- sample.lox To build the interpreter and then run it: go build ./go-lox sample.lox Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis ast cmd dump-rangetable generate-ast config interpret lox parse report Package report defines the error-reporting interface used by go-lox. Package report defines the error-reporting interface used by go-lox. resolve scan token Click to show internal directories. Click to hide internal directories.