rayoko/examples/hello.ry
Luna 013aafa8a4 add emitting of integer and float literals
- remove panics
 - add emitting for return statements
 - remove default emitting of return a+b;
2019-09-23 22:07:19 -03:00

11 lines
163 B
Text

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