mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
DONE: rework type system
|
|
DONE: var decl with a type, but no value
|
|
DONE: type casting
|
|
DONE: remove optimization option
|
|
DONE: conditionals
|
|
DONE: if-then-else
|
|
DONE: chained if-then-else
|
|
DONE: optional block around a path if it's only one statement
|
|
DONE: while-then
|
|
DONE: for-then
|
|
DONE: break and continue statements
|
|
DONE: truthiness rethink
|
|
DONE: string concat with the + operator
|
|
DONE: increment & decrement operators
|
|
DONE: store compound types in variables
|
|
DONE: += -= *= /= %= operators
|
|
DONE: && and || operators
|
|
|
|
|
|
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 thier names
|
|
TODO: functions are first-class citizens
|
|
TODO: functions last argument can be a rest parameter
|
|
|
|
TODO: A way to check the type of a variable (typeOf keyword)
|
|
TODO: a = b = c = 1; ?
|
|
TODO: are compounds shallow or deep copies?
|
|
TODO: Assertion-based test scripts
|
|
TODO: standard library
|
|
TODO: external runner library
|