Decision Workspace
rig-boa vs boa-cat vs grain-script-boa
Side-by-side comparison of Rust crates
A minimal Boa JavaScript executor for Rig applications.
Tree-walking ECMAScript interpreter built on ecma-syntax-cat. v0.7.2 lands three integration tests pinning down the existing `new SomeNativeFn(args)` dispatch path: `expression::construct` allocates a fresh empty Object as `this`, hands it to `call_function`, and honours the spec's "return the Object the constructor produced, else fall back to `this`" semantics. Embedders (e.g. `web-api-cat`'s `Event` / `CustomEvent` constructors) can now rely on this surface without reverse-engineering the implementation. No source change.
Boa-based JavaScript scripting layer for grain-agent. Loads user `.js` files from disk, runs them in an isolated boa_engine::Context owned by a dedicated worker thread, and exposes registered tools to the agent through the `grain_ai_agent_headless::Extension` trait.
Core Metrics
| rig-boa | boa-cat | grain-script-boa | |
|---|---|---|---|
| Health Score | 42 | 47 | 47 |
| Total Downloads | 20 | 830 | 238 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 99 | 7 |
| Releases | 1 | 11 | 3 |
| Last Updated | 91d ago | 118d ago | 137d ago |
| Age | 3m | 4m | 4m |
Health Breakdown
Technical Details
| rig-boa | boa-cat | grain-script-boa | |
|---|---|---|---|
| Version | 0.1.0 | 0.7.2 | 0.0.1-beta3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 5 | 10 |
| Crate Size | 11KB | 53KB | 25KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.88 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •boa-cat leads with a health score of 47/100, but none of the options score above 80.