Jevan Chan
038acb4989
Refactor StringLiteral ( #1084 )
...
Fix octal escape in string literal
Add tests
Fix zero escape
Fix zero escape lookahead
Rename variables
Rename helper functions
Refactor match arms
Fix escape line terminator sequence
Fix single character escape
Fix line terminator and escape followed by unicode char
Fix broken tests
Add NonOctalDecimalEscapeSequence
Fix comment
Refactor
Modify error message
Add tests
Rename tests
Add test for error
Add comments for unsafe bytes to str
Update boa/src/syntax/lexer/string.rs
Co-authored-by: tofpie <75836434+tofpie@users.noreply.github.com>
Minor refactor
Remove unsafe bytes to str
Fix panic when reading invalid utf-8 chars
Refactor string literal
Support invalid utf-8 chars in string literal input
Add cook function for template literal
Fix line continuation bug
Add methods for utf16 buffer trait
Add trait comments
Add error message for template literal
Add and fix comments
Hide unused exported function and modify tests
Fix bug
Fix merge bug
4 years ago
dependabot[bot]
04da7ff222
Bump monaco-editor from 0.22.0 to 0.22.1 ( #1105 )
4 years ago
dependabot[bot]
5b95895924
Bump webpack from 5.18.0 to 5.19.0 ( #1106 )
4 years ago
dependabot[bot]
d3f355f328
Bump monaco-editor from 0.21.3 to 0.22.0 ( #1104 )
4 years ago
dependabot[bot]
2f3b926586
Bump rand from 0.8.2 to 0.8.3 ( #1101 )
4 years ago
dependabot[bot]
14f847ba4c
Bump webpack from 5.17.0 to 5.18.0 ( #1100 )
4 years ago
dependabot[bot]
69d1f4a790
Bump wasm-bindgen from 0.2.69 to 0.2.70 ( #1098 )
4 years ago
dependabot[bot]
f651660fed
Bump serde from 1.0.122 to 1.0.123 ( #1099 )
4 years ago
dependabot[bot]
26bbaa9014
Bump webpack from 5.16.0 to 5.17.0 ( #1095 )
4 years ago
dependabot[bot]
c9f129fb7b
Bump serde from 1.0.120 to 1.0.122 ( #1097 )
4 years ago
dependabot[bot]
1068349689
Bump git2 from 0.13.16 to 0.13.17 ( #1096 )
4 years ago
dependabot[bot]
51aa433f74
Bump git2 from 0.13.15 to 0.13.16 ( #1091 )
4 years ago
Jevan Chan
db68c125d4
Fix out-of-range panics of Date ( #1075 )
...
* Add overflow check when fixing year, month, and day
* Add timeclip
* Add timeclip to `Date.UTC()`
* Minor fix
* Fix comment
* Add more range check
* Add timeclip to all date creation
* Remove redundant overflow check
* Fix clippy
4 years ago
Jevan Chan
00fc5e22bc
Fix lexing escapes in string literal and minor refactor ( #1079 )
...
* Refactor StringLiteral
* Fix octal escape in string literal
* Add tests
* Fix zero escape
* Fix zero escape lookahead
* Rename variables
* Rename helper functions
* Refactor match arms
* Fix escape line terminator sequence
* Fix single character escape
* Fix escape followed by unicode char
* Add NonOctalDecimalEscapeSequence
* Fix comment
* Refactor
* Modify error message
* Add tests
* Rename tests
* Add test for error
* Add comments for unsafe bytes to str
* Update boa/src/syntax/lexer/string.rs
Co-authored-by: tofpie <75836434+tofpie@users.noreply.github.com>
* Minor refactor
* Remove unsafe bytes to str
* Fix panic when reading invalid utf-8 chars
Co-authored-by: tofpie <75836434+tofpie@users.noreply.github.com>
4 years ago
dependabot[bot]
d15f55ea43
Bump webpack from 5.15.0 to 5.16.0 ( #1086 )
4 years ago
João Borges
d14e102626
Add primitive promotion for method calls on GetField ( #1085 )
4 years ago
dependabot[bot]
3cfa7b6601
Bump webpack-cli from 4.3.1 to 4.4.0 ( #1087 )
4 years ago
dependabot[bot]
99082cae04
Bump bootstrap from 4.5.3 to 4.6.0 ( #1088 )
4 years ago
dependabot[bot]
af23570e42
Bump serde from 1.0.119 to 1.0.120 ( #1089 )
4 years ago
dependabot[bot]
777c3659ae
Bump getrandom from 0.2.1 to 0.2.2 ( #1090 )
4 years ago
jasonwilliams
444a789b3b
add version so boa can be published
4 years ago
joshwd36
7b75874df1
Fix panics from multiple borrows of Map. ( #1077 )
4 years ago
dependabot[bot]
b34bb37528
Bump monaco-editor from 0.21.2 to 0.21.3 ( #1082 )
4 years ago
dependabot[bot]
07d5219dd8
Bump webpack from 5.14.0 to 5.15.0 ( #1080 )
4 years ago
João Borges
5a5061ca4f
Refactor: Change Realm::global_object field from Value to GcObject ( #1067 )
...
* Refactor: Change Realm::global_object field from Value to GcObject
* Style: Add allow atributte to avoid clippy false positive
4 years ago
tofpie
1098b41d09
Fix get/set as short method name in object ( #1072 )
...
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
4 years ago
jasonwilliams
e0f226a72b
switch off patch coverage
4 years ago
Vishal Sodani
b28f101316
Fixed spelling ( #1073 )
...
* Fixed spelling
* Update boa/examples/classes.rs
* Apply suggestions from code review
* Update classes.rs
Co-authored-by: tofpie <75836434+tofpie@users.noreply.github.com>
4 years ago
tofpie
797092c95c
Fix attribute configurable of the length property of arguments ( #1071 )
...
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
4 years ago
Jason Williams
aa03a7dbe2
Update CHANGELOG.md
4 years ago
Jason Williams
9160b89edf
Changelog v0.11 ( #1052 )
...
v0.11
Co-authored-by: João Borges <rageknify@gmail.com>
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
4 years ago
dependabot[bot]
f259ba44bf
Bump webpack-dev-server from 3.11.1 to 3.11.2 ( #1068 )
4 years ago
dependabot[bot]
c95ec59fec
Bump webpack from 5.13.0 to 5.14.0 ( #1069 )
4 years ago
dependabot[bot]
090816e467
Bump rand from 0.8.1 to 0.8.2 ( #1070 )
4 years ago
tofpie
f62a77d3fa
Implement template literals and tagged templates ( #997 )
...
* Implement template literals and tagged templates
* Merge master into for-in
* Implement suggestions from review
* Implement suggestions from review
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
4 years ago
tofpie
a7dd470cc2
Add newTarget to construct ( #1045 )
...
* Add newTarget to construct
* Fix construct for self-mutating function
* Implement suggestions from review
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
4 years ago
dependabot[bot]
7dffd44255
Bump serde from 1.0.118 to 1.0.119 ( #1061 )
4 years ago
dependabot[bot]
214d8d9fdf
Bump webpack from 5.12.3 to 5.13.0 ( #1060 )
4 years ago
dependabot[bot]
abd893ce19
Bump regex from 1.4.2 to 1.4.3 ( #1057 )
4 years ago
dependabot[bot]
5876dc3f96
Bump webpack from 5.11.1 to 5.12.3 ( #1056 )
4 years ago
Jevan Chan
f66a0999e7
Improve Unicode support for identifier names ( #1003 )
...
* Add identifier name unicode checkers
* Improve identifier name checkers
* cargo fmt
* Further improve identifier name checkers
* Rename modules and add comments
* Fix clippy
* Add unit tests
* Move unicode table to separate crate and add script
* Rename trait
* Minor fix
* Sort code points before writing to file
* Remove unused dependency
* Add table.rs doc comment
* Add trait level comment
* Add comments to script
* Update comments
* Update comments
* Add test to check Unicode version of dependency
* Add README.md and link to CONTRIBUTING.md
* Fix prettier
4 years ago
Paul Lancaster
e2f9ecd593
Arrow parse ( #1051 )
...
* Tests showing arrow func assignment parsing
* Peek ahead 3 for arrow func
* More tests (with correct syntax), removed debug statements
4 years ago
Iban Eguia
c3ba744e9d
Removed a couple of extra panics ( #1050 )
4 years ago
Annika
c083c85da6
Support overriding the `arguments` variable ( #1049 )
...
This eliminates a number of panics in the Test262 suite.
4 years ago
Iban Eguia
624d03d2a2
Fixed a bunch of test262 panics ( #817 ) ( #1046 )
...
* Fixed a bunch of test262 panics (#817 )
This also implements a spec-compliant `parseInt()` function.
* Reverted a test
* Addressed long comments from review
4 years ago
Iban Eguia
ba84f526de
Added syntax highlighting for numbers, identifiers and template literals ( #1047 )
...
* Added syntax highlighting for numbers, identifiers and template literals
* Update boa_cli/src/helper.rs
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
* Update boa_cli/src/helper.rs
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
Co-authored-by: Jevan Chan <jevan.cnchan@gmail.com>
4 years ago
54k1
d9916fcc9c
Modify environment binding behaviour of function ( #1010 )
...
* Modify environment binding behaviour of function
* Add basic test
4 years ago
Annika
89419e202f
VM: Implement variable declaration (var, const, and let) ( #1030 )
...
* VM: Implement LetDeclList and the `let` keyword
* Support var and const
* Split defining and initializing into separate instructions
* DefLet doesn't need the value
* InitLexical initializes value if set
* Code review
* Fix rustfmt
* Add documentation
* InitLexical fix
Co-authored-by: jasonwilliams <jase.williams@gmail.com>
4 years ago
tofpie
1a7e832791
Add receiver parameter to object internal methods ( #1042 )
...
Co-authored-by: tofpie <tofpie@users.noreply.github.com>
4 years ago
Jevan Chan
e8bc79c26a
Implement String.prototype.split ( #1026 )
4 years ago