This commit is contained in:
nub31
2026-03-09 16:38:09 +01:00
parent 32042d0769
commit 4210ad878b
8 changed files with 800 additions and 675 deletions

View File

@@ -10,25 +10,12 @@ enum Message {
Say: string
}
func main(): i32 {
core::println("Hello, world!")
core::println("Hello" + "World")
let message = getMessage()
let newStr = new string("cstring".ptr)
core::println(newStr)
match message {
Quit {
core::println("quit")
}
Say msg {
core::println(msg)
}
func main(args: []string): i32 {
let i = 0
while i < args.count {
// core::print(args[i])
i = i + 1
}
return 0
}