Skip to content

0.1

Choose a tag to compare

@callmesalmon callmesalmon released this 09 Nov 10:32
· 96 commits to main since this release

First release available to the public, but this has been brewing for a while.

Examples

let output = 0
let i = 1
while i < 10 do
    let j = 0

    while j < 10 do
        output = output + j * i
        if j == 5 then break
        j = j + 1
    end
    i = i + 1
end
let write = fun(v)
    __write(tostring(v))

let sum = fun(x)
    if x < 2 then x
    else x + sum(x - 1)

write(tostring(sum(3)))
let write = fun(v)
    __write(tostring(v))

write(tostring((fun(x) if x < 2 then x else x + @(x - 1))(3)))
import io
io.write(1)

stdlib/io.kite

let export write = fun(val) __write(tostring(val))