go/

directory
v0.0.0-...-457dfcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2019 License: MIT

README

Writing an interpreter in Go - Monkey

The Monkey programming language & interpreter

features (copied from the book)
  • C-like syntax
  • variable bindings
  • integer, booleans and strings
  • arithmetic expressions
  • built-in functions (a few)
  • first-class and higher-order functions
  • closures
  • arrays
  • dictionaries
changelog
  • v0.5.6 - Support for macros
  • v0.4.6 - REPL : puts builtin function
  • v0.4.4b - REPL : support for hash literals and indexing
  • v0.4.4a - REPL : support for array literals
  • v0.4.3 - REPL : support for builtin functions
  • v0.4.2 - REPL : support for string literals
  • v0.3.10 - REPL : support for function application + closures
  • v0.3.9 - REPL : bindings and environments
  • v0.3.8 - REPL : basic error handling
  • v0.3.7 - REPL : support for return statements
  • v0.3.6 - REPL : support for conditionals
  • v0.3.5d - REPL : support for infix expressions
  • v0.3.5c - REPL : support for prefix expressions (of booleans & integers)
  • v0.3.5b - REPL : support for booleans (and null)
  • v0.3.5a - REPL : support for integers
  • v0.2.9 - Read - Parse - Print - Loop
  • v0.2.8e - Parse call expressions
  • v0.2.8d - Parse function literals
  • v0.2.8c - Parse if/else expressions
  • v0.2.8b - Parse grouped expressions
  • v0.2.8a - Parse boolean expressions
  • v0.2.6 - Parse expressions
  • v0.2.5 - Parsing let & return statements
  • v0.1 - Lexing is complete

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL