Feature: Function Definition Statements #12
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: j/Conlang#12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Progress
Feature description
A function declaration adds a function definition into the local scope. The
main
function is run after the program starts, and exitingmain
causes the program to shut down. Other functions will eventually be callable using a Function Call.Example
Feature: Function Definition Expressionsto Feature: Function Definition StatementsI've decided to leave variadics off. As of right now, the perma-unstable
builtin
system allows them, but all native Conlang functions have a fixed number of arguments.