HalidOdat
5f4a1f2266
Feature `BigInt` ( #358 )
5 years ago
Tyler Morten
d84d9cbe2e
Fix for 0 length new String ( #404 )
...
* Fix for 0 length field when constructing a new String.
* String.length uses character count not byte count. Also, corresponding test
* Made tests more succinct per suggestion.
5 years ago
Jason Williams
63f37a2858
implement "this" ( #320 )
...
* implement this
* remove construct/call from Object instead set func
* get_this_binding() was wrong, fixed
* BindingStatus is now properly set
* `this` now works on dynamic functions
* Migrates all builtins to use a single constructor/call fucntion to match the spec
* Ensure new object has an existing prototype
* create_function utility
* needing to clone before passing through
5 years ago
hello2dj
402041d432
impl abstract-equality-comparison ( #395 )
5 years ago
Yiyu Lin
d4d27296fc
fix `NaN` is lexed as identifier, not as a number ( #397 )
...
close #393
5 years ago
Subhankar Panda
fefb5a3b71
Remove Monaco Editor Webpack Plugin and Manually Vendor Editor Workers ( #362 )
...
* Removed *.bundle.js from editor WebWorkers
* Removed Monaco Editor Plugin
* package.lock -> yarn.lock
5 years ago
Iban Eguia Moraza
44fde226fc
Added code of conduct based on Contributor Covenant 2.0
...
Co-authored-by: Jason Williams <jase.williams@gmail.com>
Co-authored-by: HalidOdat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
abhi
2851eb02a7
Modularize try statement parsing ( #390 )
...
* Fix catch parsing - move the cursor to next token
* Refactor catch and finally parsing into separate modules
* Refactor catchparam parsing into separate module and add more tests
* Refactoring - use ? instead of match
5 years ago
n14little
4e5b8ee2b5
run security audit daily at midnight. ( #391 )
...
* run security audit daily at midnight.
* add new line to end of security_audit.yml
5 years ago
Alexander Kryvomaz
9cd9a39aa6
Implement unary void, delete operators ( #388 )
5 years ago
Iban Eguia
143434f643
Added `BindingIdentifier` parsing. ( #389 )
5 years ago
Tunahan Karlıbaş
bdad99cb82
Implement toString ( #381 )
...
* Implement optional parameter `radix` for `Number.prototype.toString( [radix] )
Implement the radix paramet for the `toString`. This implementation is
converted from the V8's c++ implementation.
* Use a reversed iterator instead of cursors in the integer part.
Initial version for getting rid of direct slice accesses. Currently
converted integer part to iterators. Fraction part is a lot harder since
there are two passes to the fraction part (for carry over) and it is
hard to express that using iterators.
* Format tests
5 years ago
Iban Eguia
59df3acc6b
Added issue/PR templates ( #385 )
5 years ago
HalidOdat
1e18cb02d0
Value refactor ( #383 )
5 years ago
Iban Eguia
fecd33d172
Removed one indirection from objects ( #386 )
5 years ago
Iban Eguia
9c9c4638e0
Implemented function expressions ( #382 )
5 years ago
Alexander Kryvomaz
f6e0fdb197
Implement unary increment and decrement ( #380 )
5 years ago
HalidOdat
35f5f0b5b3
Code cleanup ( #372 )
5 years ago
Iban Eguia
422d0b7ea1
Optimised all `Vec<Node>` in `Node` to be `Box<[Node]>` ( #370 )
5 years ago
Iban Eguia
fb47031f44
Changed HashMap and HashSet for Fx versions ( #368 )
5 years ago
Alexander Kryvomaz
75cf44a08a
Implement for loop ( #374 )
...
* implement for loop execution
* for loop benchmark
* add more for loop tests
* Update boa/src/exec/tests.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
Jason Williams
f02babf0bd
Refactor old function with new function object ( #255 )
...
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
Co-authored-by: Jason Williams <jwilliams720@bloomberg.net>
Co-authored-by: Iban Eguia <iban.eguia@cern.ch>
5 years ago
Brian Gavin
55ef44ce13
feat(boa): in operator ( #350 )
5 years ago
HalidOdat
dd0f9678ee
fix #209 "Calling Array with one argument" ( #328 )
...
* fix issue 209 "Calling Array with one argument"
* Update boa/src/builtins/array/mod.rs
Co-Authored-By: Iban Eguia <razican@protonmail.ch>
* Changed from unimplemented to panic in array
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
HalidOdat
84b4da545a
Fix #331 "We only get `Const::Num`, never `Const::Int`" ( #338 )
5 years ago
Iban Eguia
e0e17a8f76
Removed the `serde-ast` feature and the `serde_json` export ( #353 )
5 years ago
Iban Eguia
13712d8791
Fixed doc link in README ( #354 )
5 years ago
Iban Eguia
bc63b28b6b
Modularized parser ( #304 )
5 years ago
Victor Tuekam
55c85768c3
create boa-wasm package ( #352 )
5 years ago
HalidOdat
41cda68da1
Merge pull request #293 from HalidOdat/better-documentation
5 years ago
HalidOdat
181e96d3ed
Fixed some inconsistencies in node
5 years ago
HalidOdat
bb7afad761
Fixed json issue
5 years ago
HalidOdat
d06d18f1ac
split the json module
5 years ago
HalidOdat
269b063cf2
Documented console methods
5 years ago
HalidOdat
cded8d5a54
Added Development documentation to README.md
5 years ago
HalidOdat
4a6276fc93
Added some documentation to value
5 years ago
HalidOdat
afb09173d5
Added some documentation to object
5 years ago
HalidOdat
d3928e03d3
Added documentation to Symbol
5 years ago
HalidOdat
e34b19209f
Added documentation to property
5 years ago
HalidOdat
70173fabf0
Added documentation to Error
5 years ago
HalidOdat
b525f68ff6
Added documentation to RegExp
5 years ago
HalidOdat
da6872a265
Added some documentation to builtins/function
5 years ago
HalidOdat
15ee257008
Added documentation to builtins/math
5 years ago
HalidOdat
5a063397b9
Added documentation to builtins/number
5 years ago
HalidOdat
fe01fc5905
Added some documentation to builtins/string
5 years ago
HalidOdat
37428303f2
Added some documentation to `token`
5 years ago
HalidOdat
2f801c2788
Added some documentation to `punc`
5 years ago
HalidOdat
3e5dff6178
Added documentation to `BinOp`
5 years ago
HalidOdat
ad546bb84d
Added documentation to builtins/boolean
5 years ago
HalidOdat
b8fe3545c8
Added documentation to builtins/array
5 years ago