Hello, World!

Without further ado:

module body Hello is
    function main(): ExitCode is
        printLn("Hello, world!");
        return ExitSuccess();
    end;
end module body.

Save this to hello.aum, then run:

$ austral compile hello.aum --entrypoint=Hello:main --output=hello
$ ./hello
Hello, world!