Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 642 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 642 Bytes

Cinder

Cinder is a programming language that I made for my high school senior project.

It is a dynamically typed, bytecode interpreted language written in C99 based on clox by Robert Nystrom

Treat this language as a toy in its current state, as it is unfinished and untested.

Example

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

let start = clock();
print fib(35);
print clock() - start;
$ make
$ ./cinder native_time.ci
9.22746e+06
2.625