spl/rust-test.spl

16 lines
200 B
Text
Raw Normal View History

2023-08-04 20:38:47 +02:00
func main { |
1 rusty-test _str println
0
}
2023-08-04 23:40:02 +02:00
func sply-test { mega |
1
}
2023-08-04 20:38:47 +02:00
func rusty-test @rust !{
println!("hii");
let v = #pop:Mega#;
2023-08-04 23:40:02 +02:00
#call(sply-test)#
let v2 = #pop:Mega#;
#push(v + v2)#
2023-08-04 20:38:47 +02:00
}