Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dependabot[bot] 59d1a43107 Bump futures-util from 0.3.27 to 0.3.28 (#2769) 2 years ago
..
scripts Added boa examples (#1161) 3 years ago
src/bin Initial version of a JS -> Rust conversion trait. (#2276) 2 years ago
Cargo.toml Bump futures-util from 0.3.27 to 0.3.28 (#2769) 2 years ago
README.md Added an example usage to documentation (#2742) 2 years ago

README.md

Examples of usage for boa_engine

In this crate you can find examples of the usage of the Boa JavaScript engine. The simplest example can be found in the loadstring.rs file. A similar example that uses JavaScript stored in a file can be found in loadfile.rs.

You can also find examples of specific Rust APIs for arrays, maps, sets, typed arrays and much more.