This is an interpreter for a programming language called "Monkey", following the book by Thorsten Ball: Writing an Interpreter in Go.
Modifications to the original code from the book include (so far):
- Support for unicode
Modification Ideas list:
- Support for floating point numbers
- Support for hex/octal notation of numbers
- install direnv
- make sure you add the line to the end of your .bashrc (hard tab required, that is NOT a space)
- add a .envrc to this directory with the line
layout go
- authorize direnv with
direnv allow .
- run tests such as
go test ./lexer
from thesrc/monkey/
directory