Skip to content

0.3.0

Compare
Choose a tag to compare
@Sainan Sainan released this 27 Jul 06:27
· 1855 commits to main since this release
485edbe

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.