Code:
module body Hello is
function main(): ExitCode is
printLn("Hello, world!");
return ExitSuccess();
end;
end module body.
Compile:
austral compile hello.aum --entrypoint=Hello:main --output=hello
Output:
Hello, world!