Skip to content

Latest commit

History

History
28 lines (21 loc) 路 558 Bytes

File metadata and controls

28 lines (21 loc) 路 558 Bytes

Monkey

Monkey programming language 馃悞 project from "Writing An Interpreter In Go" and "Writing A Compiler In Go" Books

Fabonacci

CountDown

Language Features:

  • Integers, booleans, strings, arrays, hash maps
  • A REPL
  • Arithmetic expressions
  • Let statements
  • First-class and higher-order functions
  • Built-in functions
  • Recursion
  • Closures

Run REPL using Compiler and Virtual Machine

go run . -engine=vm

Run REPL using Tree-walking interpreter

go run . -engine=eval