Comments (6)
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
No progress yet in terms of setting up the harness of the tests
Ok cool, I can potentially start looking at this
from boa.
I would like to re-open this. I don't think we are so far away from it, I would say we have to implement the following:
After that, we can implement an automated process to give stats on what we support, and we can start tackling syntax step by step.
from boa.
@vitkarpov if this is too much we could start of by doing what rapidus does for now and start with a few js files to test from https://github.com/maekawatoshiki/rapidus/tree/new-gen/test
Their test setup looks like this:
https://github.com/maekawatoshiki/rapidus/blob/3259515b4e3d48d53927bd3d065f6d1eb3b489e3/src/test.rs
Test Locations
https://github.com/tc39/test262/tree/master/test/language
from boa.
A good start could be to have a test file, which pulls in some of the pre-defined bindings before loading a file. Assert would be a start
https://github.com/tc39/test262/blob/master/INTERPRETING.md#test262-defined-bindings
We could test assert.js working then a JS test suite. We could test this by importing multiple js files but using the same executor, it should work.
We may need to bring https://github.com/tc39/test262 in as a submodule
from boa.
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
from boa.
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
No progress yet in terms of setting up the harness of the tests
from boa.
Related Issues (20)
- Make a pre-parsing phase to analyze variable scopes
- Calling a function with parameters that was imported via "require/module.exports" causes an error HOT 1
- Function name cannot be reassigned in it's scope.
- How do you properly call an async function under tokio?
- Variables declared without var are not recognized as global in Non-Strict Mode. HOT 4
- Realm `host_defined` and `host_defined_mut` functions aren't accessible HOT 2
- Rust async function stuck indefinitely when called from js HOT 4
- Customizable console
- Ability to call rust function using js "this" and "args" using a utility trait.
- Can't regex match on string containing emoji HOT 2
- Panic on invalid input to boa::parse HOT 1
- Tracking issue for migrating `boa_temporal` to a new repo HOT 5
- Integrating Boa into Biome HOT 7
- RUSTSEC-2024-0014: `generational-arena` is unmaintained HOT 1
- Split `boa_tester` into crates HOT 2
- Possible Incompleteness HOT 1
- Tracking issue for the `Intl` builtin object HOT 1
- Intl: Implement `supportedLocalesOf` for services
- Intl: Extract implementation into a separate crate
- Intl: Remove hacks to get the supported locales of a service HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boa.