|0.17.3||Sep 26, 2023|
|0.17.2||Sep 26, 2023|
|0.17.1||Sep 26, 2023|
|0.17.0||Jul 8, 2023|
#308 in Parser implementations
12,931 downloads per month
Used in 9 crates (3 directly)
Live Demo (WASM)
You can get more verbose errors when running from the command line.
To know how much of the ECMAScript specification does Boa cover, you can check out results running the ECMASCript Test262 test suite here.
Please, check the CONTRIBUTING.md file to know how to contribute in the project. You will need Rust installed and an editor. We have some configurations ready for VSCode.
Check debugging.md for more info on debugging.
npm run build
In the console you can use
To develop on the web assembly side you can run:
npm run serve
then go to
- Clone this repo.
- Run with
cargo run -- test.jsin the project root directory where
test.jsis a path to an existing JS file with any valid JS code.
- If any JS doesn't work then it's a bug. Please raise an issue!
Feel free to contact us on Discord.
boa_ast crate implements an ECMAScript abstract syntax tree.
boa_ast contains representations of Parse Nodes as defined by the ECMAScript
Parse Nodes are not represented by Boa's AST, because a lot of grammar productions
are only used to throw Early Errors, and don't influence the evaluation of the AST