Kiwi is a modern, lightweight programming language designed for simplicity, flexibility, and performance.
Here is a quick taste of Kiwi:
# compute the factorial of n
fn fact(n: integer = 0): integer
return 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
#/
You can install the extension for syntax-highlighting in VS Code.
You can find detailed information on language features in the Kiwi Index.
Explore the test suite for a collection of tests.
Visit the GitHub repository to read the README.