go-lox

command module
v0.0.0-...-67e5705 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 15 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package report defines the error-reporting interface used by go-lox.
Package report defines the error-reporting interface used by go-lox.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL