hello
The first program: it prints a greeting.
examples/hello in the repository.
// Hello world: the canonical first program.
// Compile and run with:
// vader build examples/hello.vader
// ./hello
//
// Or run via the interpreter:
// vader run examples/hello.vader
module "main"
import "std/io"
main :: fn() -> i32 {
println("Hello, World!")
return 0
}Hello, World!