Skip to content

About

Interpreter for Monkey Programming language written in Go

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkey Interpreter

Interpreter for Monkey programming language written in Go

Based on Writing an Interpreter in Go by Thorsten Ball

The Monkey programming language was created by Ball to teach interpreter concepts, and has the following features:

  • C-like syntax
  • variable bindings
  • integers and booleans
  • arithmetic expressions
  • built-in functions
  • first-class and higher-order functions
  • closures
  • string data structure
  • array data structure
  • hash data structure

Parser algorithms based on Pratt Parsing

Evaluator is built asa tree-walking interpreter, with no preprocessing or compilation, much like Lisp interpreters

About

Interpreter for Monkey Programming language written in Go

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages