Your First Program
Every program’s entry point is a function named main. Save this as hello.gray.
do main() { println("Hello, World!")}Running and building
Section titled “Running and building”gray hello.gray Compile and rungray build hello.gray Compile to a native binarygray build hello.gray -o hi Choose the binary namegray check hello.gray Type check onlygray test Run every #test function