0.3.8
As always, this release brings tons of new things.
Fixes
- Type fields are now initialized with their default values instead of
undefined
- The parser can now parse nested field accesses (eg.
x.y.z
) - Commas are now treated like semicolons when found outside of a known parsing context
- Fixed deadlock in tokenizer when encountering decrements (
--
) - Numbers can now be part of identifiers (eg.
player2
)
Additions
- Improved type member field resolution algorithm to account for nested field access
- Add support for
break
keyword, allowing for proper control flow. - The Test262 runner has been given a makeover and is a lot more informative now.
- The
Math
object now has all of the constant fields the spec expects (PI
,E
,SQRT1_2
,SQRT2
, etc.)
Breaking Changes
There are no breaking changes and this version of Bali is fully backwards compatible.