Skip to content

0.0.4

Latest

Choose a tag to compare

@dk00 dk00 released this 12 Mar 01:35
· 14 commits to master since this release

Implement Original LS Feature

  • Bare splat call(super) a ....
  • Singed modulo operator a %% b.
  • Named destructing with named top structure {a}: b = c.
  • Named destructing with names in deeply nested structure {a: {{b}: c}} = d.
  • Object literals and substructures with default values a{b, c=d}.

🐛 Bug Fix

  • Bit shift operators .<<. .>>. .>>>..
  • Convert forward function composing a >> b.
  • Slicing with chains a b .[c to].
  • Named destructing in function parameters, with default value.

💅 Improvement

  • Errors are reported with source location.
  • Add source locations for generated and transformed nodes.
  • Optimize literal property copying: a <<< {b, c: d} is compiled to [a.b, a.c] = [b, d], a.
  • Assignment result variables is reused when caching is required.
  • Partial applied operators are converted to arrow functions.
  • Function blocks are expanded before auto returning, to avoid additional do block at end of functions.
  • Literal property names are converted without computed flag.