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/examples/hello-world/main.nub
2025-10-22 18:32:45 +02:00

20 lines
262 B
Plaintext

module "main"
extern "puts" func puts(text: cstring)
struct Test
{
data: [23]cstring
}
extern "main" func main(argc: i64, argv: [?]cstring): i64
{
let names = struct Test {}
for name, i in names.data
{
puts(name)
}
return 0
}