Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 566 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 566 Bytes

THE MONKEY PROGRAMMING LANGUAGE

The monkey programming language interpreter/compiler from the books Writing an Interpreter in Go and Writing a Compiler in Go by Thorsten Ball.

CHANGES:

  • added exit() function.
  • added keys() and values() for hash values.
  • added globals() and locals() functions to check environment (interpreter only).
  • added toInt() and toBool() for type conversion.

TODO:

  • implement globals() and locals() in compiler/vm.