Jason Williams
640b76efaa
Update README.md
5 years ago
Paul Lancaster
ce0d801685
Add code coverage: tarpaulin / codecov ( #411 )
...
* Adding tarpaulin code coverage step
Co-authored-by: Iban Eguia <razican@protonmail.ch>
5 years ago
abhi
8255c3a83a
Add support for the reviver function to JSON.parse ( #410 )
5 years ago
Pedro Paulo
87aea64c1f
Consistency at README.md ( #424 )
...
Tries to make the README.md file more consistent. In some places the lines ended with a ".", while in others it did not. The licenses at the ended were missing some links and some sessions, such as [Benchmark] did not have any text besides the main link, among other things.
5 years ago
n14little
82908dfdf4
Json stringify replacer ( #402 )
5 years ago
Pedro Paulo
c8218dd91e
Replacement of dead links ( #423 )
...
* Update repository link on Cargo.toml
* Update repository for Cargo.toml [WASM]
* Update link on CONTRIBUTING.md
Moving <https://github.com/jasonwilliams/boa/issues > to <https://github.com/boa-dev/boa/issues >
* Remove dead links on CHANGELOG.md
Changes all dead links from <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >.
* Fix dead link on boa/Cargo.toml
From <https://github.com/jasonwilliams/boa > to <https://github.com/boa-dev/boa >
* CHANGELOG.md - Fix link on comparing v0.7.0 with v0.8.0
Previously comparing v0.7.0...HEAD
5 years ago
Paul Lancaster
d837e040c9
Number constants ( #420 )
...
Co-authored-by: HalidOdat <halidodat@gmail.com>
5 years ago
HalidOdat
d42e413f8a
Fixed function object constructable/callable ( #409 )
...
- Maded arrow functions non-constructable
- Simplified Function object and removed FunctionKind
- Rnamed create_ordinary -> ordinary, create_builtin -> builtin
- Added name and length properties in global objects
5 years ago
HalidOdat
e7a9c80d97
Fixed parsing if statement without else block preceded by a newline ( #412 )
5 years ago
Iban Eguia
4beadfc9ad
Execution and Node modularization ( #392 )
5 years ago
Pedro Paulo
866d5e3033
Update links on README.md ( #416 )
...
Since the repo migrated from <https://jasonwilliams.github.io/boa/ > to <https://boa-dev.github.io/boa/ >, the links on the README.md got deprecated.
5 years ago
Jason Williams
db18360ed5
Update CHANGELOG.md
5 years ago
Jason Williams
939fa390f4
Update CHANGELOG.md
5 years ago
Jason Williams
2149bdc67b
v0.8.0
5 years ago
Jason Williams
5cfe529649
title
5 years ago
Jason Williams
b2a60b8945
v0.8 ( #399 )
...
* v.0.8
* add this to features
* changelog updates
5 years ago
Iban Eguia
323f486fd1
Dependency upgrade ( #406 )
5 years ago
Javed Nissar
29abfd6147
Resolved #359 ( #396 )
...
Removed Node::TypeOf, implemented UnaryOp::TypeOf, and added tests
5 years ago
Jason Williams
05f220d38d
String wasn't defaulting to empty when called as String() with no argument ( #407 )
5 years ago
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