Top Qs
Timeline
Chat
Perspective
Boa (JavaScript engine)
From Wikipedia, the free encyclopedia
Remove ads
Boa is an open-source JavaScript engine written in Rust.[2] Boa was introduced at JSConf EU 2019 by Jason Williams.[3][4]
![]() | The topic of this article may not meet Wikipedia's general notability guideline. (October 2024) |
Williams created Boa in 2017 after working on Servo and being inspired by the "written from scratch" CSS engine.[5][4] He was eager to work on a JavaScript engine using Rust to learn more about how JavaScript implementations work, since then the project has had over 100 contributors.[3][6] Overtime the engine gained more prominent features such as bytecode compilation,[7] better conformance to the specification and ergonomic API design.[1]
Remove ads
Design
Boa is an open-source implementation of a JavaScript execution engine. The project is developed as a Rust library for embedding the JavaScript engine in Rust applications. Additionally, the authors of Boa provide a command-line interface (CLI) for users to interact with Boa as standalone JavaScript interpreter accessible from a command line.[8]
Boa follows the common interpreter design which approximately consists of a lexer, parser, compiler and bytecode interpreter[8]
Remove ads
Standards
Boa implements the ECMA-262 specification (ECMAScript). As of 6 September 2024 Boa has 88% conformance to Test262[9]
See also
- JerryScript, an ultra-lightweight JavaScript engine
- SpiderMonkey, a JavaScript engine used in Firefox
- List Of ECMAScript engines
References
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads