Hello, World!

fun main() {
var stdout = getStdout();
stdout << "Hello, World!\n";
}

The main function is entry point for program. var stdout = getStdout() creates variable stdout and set stdout value to return of function call getStdout()

stdout << "Hello, World!\n";

This line writes "Hello, World!" string to stdout file. Because Jazz supports operator overloading you can just use << like in C++ if you need to print something: stdout << 42 << " meaning of life\n";