Skip to content

0.4.3

Compare
Choose a tag to compare
@xTrayambak xTrayambak released this 06 Jan 13:43
· 180 commits to master since this release

Bali 0.4.3 is out with 25 commits in total and multiple new features, optimizations and fixes.
There are 6 new additions and 2 bug fixes. There should not be any breaking changes migrating to this release.

New Additions

  • Implemented two new bytecode optimizations:
  • Loop allocation elimination (to reduce expensive loops' memory footprint)
  • Return-value register cleaner (to reduce memory usage when calling functions and discarding their return value)
  • Implemented String.prototype.concat
  • Implemented String.prototype.repeat
  • Comments in array index and array construction are now correctly ignored instead of raising a SyntaxError
  • Stabilized JavaScript Date API!
  • Implemented Date.parse
  • The Date constructor can now take in ISO 8601 compliant date strings as arguments
  • The rest of the prototype will be implemented in upcoming versions
  • Implemented RangeError

Bug Fixes

  • Field-access on the null type is no longer allowed, it throws a TypeError as the spec mandates.
  • Identifiers can now be used to index arrays
  • Removed Herobrine

Full Changelog: 0.4.2...0.4.3