Skip to content

Version 3.4

Compare
Choose a tag to compare
@Maiori44 Maiori44 released this 13 Jun 15:21
· 52 commits to main since this release
  • Added renamable table destructuring (local {a => b} = t works like local b = t.a), can be used alongside normal destructuring.
  • Added nested table destructuring (local {a => {x, y}} = t).
  • Reworked the way match blocks are compiled, to allow more advanced syntax with them.
  • With the above rework the compiled output is now more efficient with internal variables (example: if a branch used a ternary, it will now only handle that ternary when actually needed).
  • Fixed operators mistaking previous code blocks as tables and thus allowing invalid syntax.
  • Optimized the way keywords are stored.
  • Removed every "deprecated" element which was not actually deprecated (like the macro keyword).
  • Added phf dependency.
  • Reduced the size of the symbols maps.
  • Added support for storing an imported file into a table when using @import (@import "file" => my_table.file).
  • @import now also preprocesses the chosen name if it has to (@import "file" => $NAME).
  • Fixed @import not erroring when the chosen name is empty (@import "file" => is now invalid).
  • Fixed @import not erroring when the file name is empty (@import "dir." is now invalid).