mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Native functions are working
This commit is contained in:
@@ -23,10 +23,10 @@ DONE: functions are first-class citizens
|
||||
DONE: functions take a set number of parameters
|
||||
DONE: functions last argument can be a rest parameter
|
||||
DONE: assert needs to kill the whole script, not just functions
|
||||
DONE: native functions
|
||||
DONE: global functions _get, _set, _push, _pop, _length, clear available
|
||||
|
||||
|
||||
TODO: functions return a set number of values
|
||||
|
||||
TODO: slice and dot notation around the _index function
|
||||
TODO: ternary operator
|
||||
TODO: Nullish types
|
||||
TODO: A way to check the type of a variable (typeOf keyword)
|
||||
@@ -37,3 +37,5 @@ TODO: standard library
|
||||
TODO: external runner library
|
||||
TODO: document how it all works
|
||||
TODO: third output stream, for parser/compiler/interpreter errors
|
||||
|
||||
NOPE: functions return a set number of values
|
||||
Reference in New Issue
Block a user