rayoko/examples/hello.ry

12 lines
177 B
Plaintext

// import std;
fn add(a: i32, b: i32) i32 {
return a + b;
}
// type is void by default
//fn main() {
// print("piss\n");
// // print("2 + 2 = %d\n", add(1, 2));
//}