This repository has been archived on 2025-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive-2/example/program.nub
nub31 0a9442c044 ...
2025-05-12 21:46:45 +02:00

16 lines
233 B
Plaintext

import c;
struct Human {
age: i64;
name: string;
}
global func main() {
me = new Human
{
age = 21;
name = "Oliver";
};
printf("My name is %s and i am %d years old\n", me.name, me.age);
}