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/main.nub
nub31 81fe75446d ...
2025-06-02 18:19:48 +02:00

13 lines
178 B
Plaintext

namespace main
struct Human {
name: string
age: i64
}
export func main(args: []^string) {
let human = alloc Human {
age = 23
name = "oliver"
}
}