HalidOdat
14d7791f40
Move `require_object_coercible` to `Value` ( #654 )
4 years ago
neeldug
4009204bf3
Added CLEAN_JS and MINI_JS benches ( #581 )
...
* Added CLEAN_JS and MINI_JS benches
These benches are arbitrary code which is subject to change,
functionally the programs are identical.
* Forgot semicolon
* Adding parsing benchmarks for CleanJS & MiniJS
Added identical benchmark cases for parser.
* Migrating Clean and Mini benchmarks to new format
Adding js scripts in bench_scripts & moving exec, full and parser
benchmarks to new include_str!() macro.
4 years ago
Paul Lancaster
8ade420692
Test + fmt fix ( #646 )
...
* Test + fmt fix
* Use u64 instead of u128 in test
4 years ago
Jonathan Dickinson
13f73749c8
Fix undefined constant expression evaluation ( #645 )
4 years ago
neeldug
bbacf1d095
Benchmark refactor ( #640 )
4 years ago
HalidOdat
b42dd4cd8b
Index `PropertyKey`, `Object` iterators and symbol support ( #603 )
...
* Index `PropertyKey`, `Object` iterators and `Symbol` indexing support.
* PR feedback
4 years ago
54k1
7a51530dcd
Fix 532, 533, 641 ( #642 )
4 years ago
54k1
2d1dabb554
Change default return type from null to undefined ( #643 )
...
* Change default return type from null to undefined
* Change default return value of block
* Add link to spec
* Add tests
4 years ago
HalidOdat
c9afbf4221
Refactor `Function` ( #626 )
...
Co-authored-by: Iban Eguia <razican@protonmail.ch>
4 years ago
HalidOdat
d025207fc1
Feature `boa::Result<T>` ( #637 )
4 years ago
HalidOdat
6e7b362424
Changed to Value::to_*int32 => Value::to_*32 ( #638 )
4 years ago
Jonathan Dickinson
908cb3a4bf
Fix Stack Overflow for `Debug::fmt` ( #630 )
...
* Fix infinite recursion for Debug::fmt
* Limit recursion in `Debug for GcObject`
* PR feedback
* Add comment to `RecursionLimiter::VISITED`
4 years ago
HalidOdat
c5b708b2ef
Moved value operations from `Interpreter` to `Value` ( #625 )
4 years ago
HalidOdat
b8d0b3cd3b
Fix compilation error
4 years ago
HalidOdat
c3115aae53
Removed file
4 years ago
HalidOdat
607a534cc7
Fix abstract relational comparison (`<`, `>`, `<=` and `=>`) ( #617 )
4 years ago
HalidOdat
36ac8dc7c1
Fix compilation error
4 years ago
54k1
91d9100ad9
Set __proto__ of function instances ( #604 )
4 years ago
HalidOdat
f651210c00
Remove `Value::as_num_to_power()` ( #616 )
4 years ago
Jonathan Dickinson
8fd5533460
Date Implementation ( #596 )
...
Co-authored-by: Jonathan Dickinson <jonathanD@k2.com>
4 years ago
HalidOdat
8036a49f26
Removed internal_slots from object ( #601 )
4 years ago
HalidOdat
7f2ea6f2d1
Made `String.prototype.lastIndexOf()` spec compliant ( #598 )
4 years ago
HalidOdat
9fdadf85d7
Fixed `String.prototype.indexOf()` bug, when the search string is empty ( #599 )
4 years ago
Paul Lancaster
9a3b69ff9f
Merge pull request #589 from KashParty/master
...
Implement the comma operator
4 years ago
HalidOdat
356ce1a827
Made `String.prototype.indexOf` spec compliant. ( #597 )
...
- Added tests
4 years ago
HalidOdat
4474b714b2
Added syntax highlighting for strings ( #595 )
4 years ago
HalidOdat
a6710fa614
`RegExp` specialization ( #592 )
4 years ago
Paul Lancaster
7b3f42de54
Merge pull request #587 from joshwd36/Well-Known-Symbols
...
Implement Well-Known Symbols
4 years ago
joshwd36
e11b846284
Add comment
4 years ago
João Borges
667a820dee
Introduce PropertyKey for field acces, fix #172 (quotes around displayed strings) ( #373 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
HalidOdat
24a72ea847
Added keyword and operator colors and matching bracket validator to cli ( #590 )
4 years ago
HalidOdat
795adc519a
Better error formatting and cli color ( #586 )
4 years ago
KashParty
2df2db3c2f
Removed trailing comma
4 years ago
KashParty
cce0626f17
Added tests
4 years ago
KashParty
dbb39862d6
Added comma operator
4 years ago
joshwd36
2de11ee487
Add comment
4 years ago
joshwd36
b437c9ff46
Implement and use Interpreter::global()
4 years ago
joshwd36
064d8bc352
Make lifetime of return of init static to remove to_string
4 years ago
joshwd36
fa9228684f
Move create_intrinsics to Interpreter and implement Well-Known Symbols
4 years ago
benjaminflin
bbd7dd2945
Implement Array.prototype.reduceRight ( #579 )
4 years ago
HalidOdat
bbed032199
Make `String.prototype.repeat()` ECMAScript specification compliant ( #582 )
4 years ago
HalidOdat
cf253054d9
Fix string prototype `trim` methods ( #583 )
...
* Made trim methods ECMAScript specification compliant
* Added tests
4 years ago
HalidOdat
5d4d8fe794
Refactor Property Descriptor flags ( #553 )
4 years ago
HalidOdat
d8eb7caefd
Extracted `__proto__` from internal slots ( #580 )
4 years ago
HalidOdat
08a608a821
Spec Compliant `Number.prototype.toString()`, better `Number` object formating and `-0` ( #572 )
...
* `Number` object formating and `-0`
* Made `Number.prototype.toString()` spec compliant
* Enabled ignore `toString()` tests
4 years ago
joshwd36
1c1132d8e1
Initial implementation of Map() ( #550 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
dependabot[bot]
11e85ebc08
Bump lodash from 4.17.15 to 4.17.19 ( #573 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Richard
e49be361fa
Use correct exponential representation for rational values ( #493 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
benjaminflin
3e2e56641e
Implement Array.prototype.reduce ( #555 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
4 years ago
joshwd36
690b194b43
Add missing Number methods. ( #562 )
4 years ago