0.3.0
Additions:
- Inlined method creation.
- STR in STR expressions.
- KEY in INDEXABLE expressions.
- Generalized iteration, no need for
pairs
. io.listdir
- Reserved keywords as valid fields.
- Null-coalescing operator (w/ compound operator).
continue N
&break N
for manipulating outer loops.- Optional type-hinting, with parser warnings.
- Safe accessor navigation, to avoid "attempt to index nil" errors for deeply nested fields.
Changes:
table.contains
now returns an index if found and nil otherwise (previously returned true or false).
Improvements:
- Switch no longer has syntactic restrictions
- Greater switch performance
Documentation for the new changes can be found here.