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/main.nub
2025-09-11 23:03:44 +02:00

21 lines
250 B
Plaintext

module "main"
import "test"
export extern "puts" func puts(text: cstring)
struct Human
{
name: cstring
age: u64
}
func main(args: []cstring): i64
{
let me: main::Human = {
name = "Oliver"
age = 21
}
return 0
}