This repository has been archived on 2025-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive/example/program.nub
2025-05-14 19:06:26 +02:00

13 lines
160 B
Plaintext

import c;
struct Human {
age: i8;
}
global func main() {
printf("%d\n", addbyte(10, 300));
}
func addbyte(a: i32, sb: i8): i32 {
return a + sb;
}