Crate boa_macros

source ·
Expand description

Macros for the Boa JavaScript engine.

§About Boa

Boa is an open-source, experimental ECMAScript Engine written in Rust for lexing, parsing and executing ECMAScript/JavaScript. Currently, Boa supports some of the language. More information can be viewed at Boa’s website.

Try out the most recent release with Boa’s live demo playground.

§Boa Crates

Macros§

  • Construct a utf-16 array literal from a utf-8 str literal.

Derive Macros§

  • Derive the Finalize trait.
  • Derive the JsData trait.
  • Derive the Trace trait.
  • Derives the TryFromJs trait, with the #[boa()] attribute.