This commit is contained in:
nub31
2025-06-27 15:55:32 +02:00
parent d9027d6751
commit 19c309c494
20 changed files with 159 additions and 232 deletions

View File

@@ -1,43 +0,0 @@
namespace main
struct Human {
name: cstring
}
export func main(args: []cstring): i64 {
// let human: Human
// human = alloc Human {
// name = "member"
// }
// c::puts(human.name)
// c::puts("literal")
// let x: cstring
// x = "variable"
// c::puts(x)
// let y: func(cstring)
// y = c::puts
// y("proxy")
// func(){ c::puts("anon") }()
// let z: func()
// z = func() { c::puts("anon variable") }
// z()
c::printf("%d\n", "test".count)
// c::puts("test")
return 0
}