This is my Go implementation of the Monkey interpreter from the book "Writing an Interpreter in Go" by Thorsten Ball. The book is a great resource for learning how to write an interpreter and I highly recommend it. The book is available at https://interpreterbook.com.
To start the REPL, run the following command:
go run main.go
To run the tests, run the following command:
go test ./...
- Initial token definition
- Initial lexer
- Basic REPL to print tokens
- Parser
- Evaluation
- Extending the interpreter
- etc...