aitumik / monkey

Monkey is an Interpreter written in Go. Its features include : functions,variables,arithmetic e.t.c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monkey

Monkey is an Interpreter written in Go

Setup

To setup this project you need to have installed golang on your machine and a basic understanding of linguistics hahaha

Example

let a = 5;
let b = 6;

let add = fn(x,y) {
  x + y;
};

let result = add(a,b)

The result will be 11

Resources

  • Engineering a compiler - Book
  • Crafting interpreters - Book
  • Writing and interpreter in go - Book

About

Monkey is an Interpreter written in Go. Its features include : functions,variables,arithmetic e.t.c

License:MIT License


Languages

Language:Go 100.0%