Hyphenated names for functions · Issue #162 · satyr/coco (original) (raw)

Last char of the hyphenated name for the function will be used as first argument

For example:
function hyphenated-name then void
Compiles to:
function hyphenatedName(e){}

Hyphenated name for the function can not be used with arguments

Example:
function hyphenated-name arg then void
Raises:
SyntaxError: invalid assign on line 1