An interpreter for the Monkey programming language written in Haskell
The official Monkey logo
Monkey is a programming language designed for learning about interpreter implementation, used in a book, Writing An Interpreter In Go.
The original implementation in the book is written in Go. Go is a great language, but I personally find Haskell more attractive than Go. Haskell is well-known for its efficiency in writing compiler too.
Most importantly, writing Haskell makes me productive and happy. ✨
$ stack build
$ stack test
$ stack install # will install binaries in $PATH
$ mkrepl
$ stack exec mkrepl # without install
$ mki examples/map-reduce.mk
$ stack exec mki examples/hash.mk # without install