This is an interpreter written in GoLang for the Monkey programming language.
All code and samples are based on the book "Writing An Interpreter in Go" by Thorsten Ball.
The lexer transforms meaningless string into a (flat) list of things like "number literal", "string literal", "identifier", or "operator", called Tokens. It also recognizing reserved identifiers (keywords) and discarding whitespace.
The parser is turning a stream of Tokens, produced by the lexer, into a parse tree (Abstract Syntax Tree) representing the structure of the parsed language.
To execute all tests in all packages: go test ./...
To start the REPL: go run main.go