-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events (change "main" procedure) #9
Comments
Is there any advantage to requiring a "main" procedure at all? |
It provides a natural place to put the starting code. |
You could put the
If you can support it, just make Haumea a scripting language (i.e. the main function is everything not within a procedure)! |
Even if main is a block, it doesn't necessarily have to be a function. What about something like
|
How about this?
|
"when" says 'event' to me. Could we add events to the standard library (async!) |
When you think about it, the program starting is basically an event. As far as other events go, sure. |
Moved to haumea-lang/spec#3 |
Although
main
in C makes sense, here (since Haumea seems very english-like) it doesn't make much sense- perhapscould work better as a starting procedure?The text was updated successfully, but these errors were encountered: