Skip to content

Interpreter for Monkey Programming language written in Go

Notifications You must be signed in to change notification settings

upalsaha/monkey_interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages