kyu-s

IT HAD TO BE DONE!!1

Kyu-S

IT HAD TO BE DONE!!1

(let fib { |n|
           (cond
             { (= 0 n) } { 0 }
             { (= 1 n) } { 1 }
             { (> 1 n) } { (+ (fib (- n 1)) (fib (- n 2))) })})
 
(fib 42)
$ npm install -g kyu-s
$ kyu-s foo.kyu  # executes foo
$ kyu-s -c foo.kyu > foo.js  # compiles foo

WTFPL. IOW: you just do what the fuck you want to.