IO::Println("Hello World!")
age := 100
if age > 90 {
IO::Println("You're old! :)")
}
// Functions are first-class citizens
get_three := fn() {
return 3
}
IO::Println(get_three())
In Kram, everything is a class, that means that you can do stuff like
150.Sqrt()
There is a lot of stuff that needs to be implemented before kram is complete. And you are very welcome to help!
An idea of what the language might look like in the future is available at idea.kr.
Fniss.