Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@stirante stirante released this 05 May 19:15
· 26 commits to master since this release

Added:

  • Implementation of add operator between objects (merges two objects, where in a + b, a is the higher priority) and arrays (joins two arrays)
  • Templating mcfunction files (putting #{expression} anywhere in mcfunction will replace it with evaluated expression)
  • --minify option
  • Improved error reporting when loading scope

Functions added:

  • sort
  • range
  • lastIndexOf

Fixed:

  • Lambda scope stack
  • Casting string to a number or a boolean
  • Escaping backslashes at the end of the string
  • Field and Reference grammar merged, so this expression works now 'stage_' + (stage == 3 ? 'full' : stage)