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/input/program.nub
2025-02-01 20:10:58 +01:00

21 lines
284 B
Plaintext

import "core";
func main() {
let i = 1;
while true {
let x = new Human
{
name = "test",
age = i
};
println(x.age);
i = i + 1;
}
}
struct Human {
let name: String;
let age: int64;
}