A work-in-progress programming language.
/* fibonacci sequence */
func fib(n) {
return if n < 2 {
n
} else {
fib(n - 1) + fib(n - 2)
}
}
export func main() {
let result = fib(20)
println(result)
}
./gradlew -q tool:run --args 'run ../examples/fib.pork'