-
-
Notifications
You must be signed in to change notification settings - Fork 40
Lua-like no parentheses call #372
Copy link
Copy link
Closed
Labels
languageIssue related to the languageIssue related to the languageproposalSomething we consider doingSomething we consider doing
Milestone
Metadata
Metadata
Assignees
Labels
languageIssue related to the languageIssue related to the languageproposalSomething we consider doingSomething we consider doing
Type
Fields
Give feedbackNo fields configured for issues without a type.
In lua if a function call has only one argument and it's a string or a table, parentheses can be omitted like this:
We could imagine something similar for buzz on literals only (not a named variable, named object init or enum case which would make the grammar too ambiguous):
This would make writing configuration files in buzz or any other declarative thing easy/elegant.