Skip to main content

Ripe

A systems language with a few rules—and the rest follows.

Version 0.0.0 - pre-release
hello.rp
puts : (cstr) -> i32 : extern "C";

greet : (i32) -> cstr = fn match {
0 => "hello, world",
_ => "hola, mundo",
};

main : () -> () : fn() => {
_ : i32 = puts(greet(0))
};
shell
$ ripec hello.rp
$ ./hello
hello, world