Repository navigation
[Merged by Bors] - Added boa examples - #1161
jasonwilliams wants to merge 9 commits into
Conversation
RageKnify
left a comment
There was a problem hiding this comment.
Some minor things in the Cargo.toml files.
RageKnify
left a comment
There was a problem hiding this comment.
1 typo and a change to make the Rust code more idiomatic.
|
Hello @jasonwilliams how is this going? |
|
OK, from what i remember it was just the change @RageKnify pointed out. |
|
I have updated the most simple examples, but the rest require some extra work. |
Test262 conformance changesVM implementation
|
Benchmark for 84abeccClick to view benchmark
|
Benchmark for 6cfef13Click to view benchmark
|
d4c5e94 to
785307d
Compare
Codecov Report
@@ Coverage Diff @@
## main #1161 +/- ##
==========================================
- Coverage 46.59% 46.58% -0.01%
==========================================
Files 205 206 +1
Lines 16753 16781 +28
==========================================
+ Hits 7806 7818 +12
- Misses 8947 8963 +16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Looks good to me, I think these examples will be useful for our users. The only thing I'm missing is a small description on the top of each example with module level comments (//!) explaining what the example is supposed to do.
Also, I would say we don't have an example that changes the global object, right? Do we want to have this? Is it possible with the current API?
How do you mean change the global object? Do you mean to add properties to it? |
I meant using "window" as a global object for example, but I guess that's just an alias, right? And then adding some attributes to it. |
|
@jasonwilliams do you think we could have this ready for 0.14? It would be nice to have new examples here. |
2c33e14 to
74014a5
Compare
Benchmark for 7a68787Click to view benchmark
|
|
I will look at this during the week, I would love to merge it asap :) |
Benchmark for be7b626Click to view benchmark
|
Added boa examples as per issue #446
* spelling mistake * Rust FMT
Benchmark for dab5b4cClick to view benchmark
|
|
|
Benchmark for 109c2d7Click to view benchmark
|
This is due to the way deriving works for that crate. Maybe it can be fixed with a PR to the gc crate |
Benchmark for 13117ebClick to view benchmark
|
|
@jedel1043 you happy with this? |
jedel1043
left a comment
There was a problem hiding this comment.
@jedel1043 you happy with this?
Yep :)
|
bors r+ |
Added boa examples as per issue #446 Overtaken #634 Somehow screwed that branch up by rebasing it and losing access pings @elasmojs This Pull Request fixes/closes #446 . Co-authored-by: Jason Williams <[email protected]> Co-authored-by: Iban Eguia (Razican) <[email protected]> Co-authored-by: jasonwilliams <[email protected]> Co-authored-by: jedel1043 <[email protected]>
|
Pull request successfully merged into main. Build succeeded: |
Added boa examples as per issue #446
Overtaken #634
Somehow screwed that branch up by rebasing it and losing access
pings @elasmojs
This Pull Request fixes/closes #446 .