mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Rest parameter working
This commit is contained in:
@@ -21,12 +21,13 @@ DONE: function returns can have specified types
|
||||
DONE: closures are explicitly supported
|
||||
DONE: functions are first-class citizens
|
||||
DONE: functions take a set number of parameters
|
||||
DONE: functions last argument can be a rest parameter
|
||||
|
||||
|
||||
TODO: functions return a set number of values
|
||||
TODO: functions last argument can be a rest parameter
|
||||
TODO: assert needs to kill the whole script
|
||||
TODO: assert needs to kill the whole script, not just functions
|
||||
|
||||
TODO: ternary operator
|
||||
TODO: Nullish types
|
||||
TODO: A way to check the type of a variable (typeOf keyword)
|
||||
TODO: a = b = c = 1; ?
|
||||
@@ -34,3 +35,5 @@ TODO: are compounds shallow or deep copies?
|
||||
TODO: Assertion-based test scripts
|
||||
TODO: standard library
|
||||
TODO: external runner library
|
||||
TODO: document how it all works
|
||||
TODO: third output stream, for parser/compiler/interpreter errors
|
||||
|
||||
Reference in New Issue
Block a user