"It is far better to grasp the universe as it really is than to persist in delusion, however satisfying and reassuring."
Bali 0.5.0 is out with multiple fixes, new features, adding up to 51 commits in total.
Most importantly, Bali now has support for true and loose equality now! This brings us one step closer to being more compliant.
Bug Fixes
- Grammar: Allow constructors as call arguments
- Grammar/Runtime: Allow identifiers to be wasted
- Fixed regressions in the URL functions since the move to
JSString
ToNumber()
now callsToPrimitive()
whenever necessary- Fixed double codegen for some functions
- Removed Herobrine
Additions
- Added
String()
function which is just another way to call the constructor - Balde: Added
--dump-statistics
- Implemented
String.prototype.codePointAt
String
(s) now have theirlength
property attached to them, which just contains how many UTF-16 code units the string has.- Implemented strict and loose equality. Issues with strict equality will be ironed out in the rest of the 0.5.x series.
Note
I will not be making any new releases until 15th of March, as I have to give my examinations. Until then, consider this project inactive.