Kiwi is a modern, lightweight scripting language built for expressiveness and utility.
Here is a quick taste of Kiwi:
# compute the factorial of n
fn fact(n: integer = 0): integer
n <= 1 ? 1 : n * fact(n - 1)
end
repeat 9 as n do
println "${n}! = ${fact(n)}"
end
/# Output:
1! = 1
2! = 2
3! = 6
4! = 24
5! = 120
6! = 720
7! = 5040
8! = 40320
9! = 362880
#/