Hello WorldEdit on GitHub
It’s time to write your first Grain program! While simple, this program should verify that we have everything set up correctly.
All Grain files end with the extension
.gr. Let’s create our first file and call it
The code for this program is fairly straightforward and should feel familiar from other languages.
To run the program, we use the Grain CLI:
If everything is set up properly, we should see the message appear in the console.