HELLO, FREYA!
// The simplest (or next to simplest) application in Freya.
namespace Freya.Hello;
public
// Static classes only contains static members.
Program = static class;
implementation for Program is
// Main is private: just an implementation detail.
// It's also static because Program is static.
method Main;
begin
System.Console.WriteLine('Hello, Freya!')
end;
end.
... and an even shorter variant
// An anonymous implementation generates a private static class.
// Yes: it's a one trick pony...
implementation
method Main;
begin
System.Console.WriteLine('Hello, Freya!')
end
end