Skip to content

thepatrik/jazz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages