rayoko/examples/hello.ry
2019-09-18 11:37:08 -03:00

11 lines
182 B
Text

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