mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Closures work
This commit is contained in:
@@ -15,15 +15,17 @@ DONE: increment & decrement operators
|
||||
DONE: store compound types in variables
|
||||
DONE: += -= *= /= %= operators
|
||||
DONE: && and || operators
|
||||
DONE: functions are invoked by calling their names
|
||||
DONE: function arguments can have specified types
|
||||
DONE: function returns can have specified types
|
||||
DONE: closures are explicitly supported
|
||||
|
||||
|
||||
TODO: functions take a number of parameters
|
||||
TODO: functions can return any number of values
|
||||
TODO: function arguments can have specified types
|
||||
TODO: function returns can have specified types
|
||||
TODO: functions are invoked by calling their names
|
||||
TODO: functions take a set number of parameters
|
||||
TODO: functions can return a set number of values
|
||||
TODO: functions are first-class citizens
|
||||
TODO: functions last argument can be a rest parameter
|
||||
TODO: check for wrong number of function parameters
|
||||
|
||||
TODO: Nullish types
|
||||
TODO: A way to check the type of a variable (typeOf keyword)
|
||||
|
||||
Reference in New Issue
Block a user