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
nub31 bdf82f99e7 ...
2025-05-05 22:55:15 +02:00

14 lines
160 B
Plaintext

import "c";
struct Human {
age: int64;
name: string;
}
global func main() {
printName();
}
func printName(human: Human) {
puts(human.name);
}