loenard97 / monkey-c

A C interpreter for the monkey language from the book Writing An Interpreter In Go by Thorsten Ball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkey-c

A C interpreter for the monkey language from the book Writing An Interpreter In Go by Thorsten Ball

The Monkey Language

Monkey is a toy language from the books Writing An Interpreter In Go and Writing A Compiler In Go by Thorsten Ball. Check out the website here.

It includes some basic datatypes, conditionals and functions:

let x = 1;
let string = "Hello World!";
let array = [1, 2, 3];

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

if (x == 0) {
    true
} else {
    false
}

About

A C interpreter for the monkey language from the book Writing An Interpreter In Go by Thorsten Ball

License:MIT License


Languages

Language:C 97.4%Language:Makefile 2.6%