Open
Description
Is your refactor request related to a problem? Please describe.
Not a code refactor but documentation. I recently stumbled across the naming of the entrypoint function. It needs to be called main
(unless explicitly set to sth else) and it needs to be a FUNCTION to be a stand-alone application. Using a PROGRAM
might seemingly work but will end in weird segfaults.
Describe the solution you'd like
Maybe just mention why it needs to be called main
and that the type needs to be FUNCTION
.
Additional context
Lines 29 to 34 in b39608d