kiwi

an unorthodox programming language

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
#/
            

Visual Studio Code Extension

You can install the extension for syntax-highlighting in VS Code.

Documentation

You can find detailed information on language features in the Kiwi Index.

Test Suite

Explore the test suite for a collection of tests.

GitHub Repository

Visit the GitHub repository to read the README.

Download Kiwi v2.0.7 🥝