Paul Lancaster
cb93472b4a
New lexer ( #559 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
Co-authored-by: Paul Lancaster <paul@lancasterzone.com>
Co-authored-by: neeldug <5161147+neeldug@users.noreply.github.com>
4 years ago
Halid Odat
b0c387bfce
Add documentation to `GcObject` methods ( #661 )
4 years ago
Halid Odat
0fc8052f4e
Implement `std::error::Error` for `GcObject` borrow errors ( #662 )
4 years ago
Jarred Holman
c7531afd10
Add missing ops to exec module ( #635 )
...
* Node::ConditionalOp
* Node::Continue
4 years ago
Halid Odat
4f5930cc5e
Make `GcObject::contruct` not take 'this' ( #660 )
4 years ago
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