Files
monkey/Readme.md
Tommy Parnell d98c02b472 remind myself
2017-12-31 21:27:50 -05:00

17 lines
568 B
Markdown

These are my source files for working on Thorsten Ball's [Writing an interpreter in go](https://interpreterbook.com/) book. The ultimate goal of this source code is to interpret, and execute code written in a language called monkey. I'm still going through the book so this repo maybe incomplete.
An example of monkey is below. Monkey is a c-like language with closures, first class functions, and variable bindings.
```monkey
let five = 5;
let ten = 10;
let add = fn(x, y) {
x + y;
};
return add(5,5);
```
reminder for myself>> you stopped at prefix-operators