rayoko/examples/hello.ry

16 lines
214 B
Plaintext

// import std;
fn add() i32 {
return 69 + 69;
}
fn and_fn() bool {
return true and false;
}
// type is void by default
//fn main() {
// print("piss\n");
// // print("2 + 2 = %d\n", add(1, 2));
//}