Skip to content
/ monkey Public

Compiler for the Monkey programming language from "Writing a Compiler in Go"

License

Notifications You must be signed in to change notification settings

j1642/monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interpreter and compiler for the Monkey programming language from Writing an Interpreter in Go and Writing a Compiler in Go by Thorsten Ball.

let fibonacci = fn(x) {
    if (x == 0) {
        return 0;
    } else {
        if (x == 1) {
            return 1;
        } else {
            fibonacci(x - 1) + fibonacci(x - 2);
        }
    }
};
fibonacci(15);

About

Compiler for the Monkey programming language from "Writing a Compiler in Go"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages