TODO
Features:
- FEATURE #74:
Enables Boa to run within the Test 262 framework.
This will help us see what is implemented or not within the spec
v0.4.0 brings quite a big release. The biggest feature to land is the support of regular expressions.
Functions now have the arguments object supported and we have a debugging
section in the docs.
Feature enhancements:
- FEATURE #6: Support for regex literals. (Big thanks @999eagle)
- FEATURE #13: toLowerCase, toUpperCase, substring, substr and valueOf implemented (thanks @arbroween)
- Support for
arguments
object within functions StringData
instead ofPrimitieData
to match spec- Native function signatures changed, operations added to match spec
- Primitives can now be boxed/unboxed when methods are ran on them
- Spelling edits (thanks @someguynamedmatt)
- Ability to set global values before interpreter starts (thanks @999eagle)
- Assign operators implemented (thanks @oll3)
Bug fixes:
- BUG #57: Fixed issue with stackoverflow by implementing early returns.
- Allow to re-assign value to an existing binding. (Thanks @oll3)
- UnexpectedKeyword(Else) bug fixed jasonwilliams#38
- Contributing guide added
- Ability to specify file - Thanks @callumquick
- Travis fixes
- Parser Tests - Thanks @Razican
- Migrate to dyn traits - Thanks @Atul9
- Added implementations for Array.prototype: concat(), push(), pop() and join() - Thanks @callumquick
- Some clippy Issues fixed - Thanks @Razican
- Objects have been refactored to use structs which are more closely aligned with the specification
- Benchmarks have been added
- String and Array specific console.log formats - Thanks @callumquick
- isPropertyKey implementation added - Thanks @KrisChambers
- Unit Tests for Array and Strings - Thanks @GalAster
- typo fix - Thanks @palerdot
- dist cleanup, thanks @zgotsch
Some String prototype methods are implemented.
Thanks to @lennartbuit we have
trim/trimStart/trimEnd added to the string prototype
Feature enhancements:
- String.prototype.concat ( ...args )
- String.prototype.endsWith ( searchString [ , endPosition ] )
- String.prototype.includes ( searchString [ , position ] )
- String.prototype.indexOf ( searchString [ , position ] )
- String.prototype.lastIndexOf ( searchString [ , position ] )
- String.prototype.repeat ( count )
- String.prototype.slice ( start, end )
- String.prototype.startsWith ( searchString [ , position ] )
Bug fixes:
- Plenty
Working state reached
- Tests on the lexer, conforms with puncturators and keywords from TC39 specification
- wasm-bindgen added with working demo in Web Assembly
- snapshot of boa in a working state for the first time