Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aitumik/monkey

Monkey is an Interpreter written in Go. Its features include : functions,variables,arithmetic e.t.c
https://github.com/aitumik/monkey

bnf golang lexer passes token

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```monky
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