rayoko/examples/hello.ry

16 lines
228 B
Plaintext
Raw Normal View History

// import std;
2019-09-18 14:37:08 +00:00
fn add(a: i32, b: i32) i32 {
return 69 + 69;
}
fn and_fn() bool {
return true and false;
2019-09-18 14:37:08 +00:00
}
// type is void by default
2019-09-21 02:40:21 +00:00
//fn main() {
// print("piss\n");
// // print("2 + 2 = %d\n", add(1, 2));
//}