static string literals

This commit is contained in:
nub31
2026-03-01 00:12:16 +01:00
parent 16d27c76ab
commit faf506f409
5 changed files with 112 additions and 90 deletions

View File

@@ -1,12 +1,7 @@
module main
extern func puts(text: ^u8)
func main(): i32 {
core::println("Hello, world!")
let file = file::read_text("file.nub")
puts(file)
core::println("Hello" + "World")
return 0
}