thepatrik / jazz

Jazz is a small programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jazz

Jazz is a small programming language created to learn about... programming languages. Based on the book Crafting Interpreters, by Robert Nystrom.

The syntax looks something like this.

fn fib(n) {
    if (n <= 1) return n;
    return fib(n-2) + fib(n-1);
}

for (let i = 0; i < 20; i = i + 1) {
    let num = fib(i);
    print num;
}

To launch the jazz REPL.

$ make jazz
Welcome to Jazz v0.0.1
Type ".exit" to exit.
> 1+2*3/4;
2.5

About

Jazz is a small programming language.


Languages

Language:Go 92.8%Language:C 6.1%Language:Makefile 1.2%