gdiasag/monkey

Yet another interpreter implementation, this time using Golang

★ 1Forks 0GoGitHub ↗Compare
golanginterpreterlanguage-implementationprogramming-languagetest-driven-development

README

monkey

Go

Interpreter for the Monkey programming language, just as an exercise to learn Go.

This implementation specifies its own lexer and follows a really common top-down style of parsing using Pratt's technique, along with an AST-based approach for representing parsed code, whose evaluation is done by converting the representation to an internal object system. The project also aims to explore Test-Driven Development, where failing unit tests are constructed before the actual targeted implementation.

License

The project is licensed under the MIT License.

Contributors

gdiasag

Issues