This commit is contained in:
nub31
2025-10-21 20:22:18 +02:00
parent 3dab4c7e60
commit 4a01fbc306
10 changed files with 237 additions and 935 deletions

View File

@@ -2,9 +2,19 @@ module "main"
extern "puts" func puts(text: cstring)
struct Human {
age: u32
name: cstring
}
extern "main" func main(args: []cstring): i64
{
defer puts("Goodybye World")
puts("Hello World")
let human: Human = {
name = "test"
age = 23
}
puts(human.name)
return 0
}