# facebook/starlark-rust

A Rust implementation of the Starlark language

Repository: https://github.com/facebook/starlark-rust
Canonical: https://ross.abutalabs.com/products/starlark-rust
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-09-03T01:22:45+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 54, longevity 100
- inputs: {"age_days": 2095, "days_push": 0, "days_rel": 93, "gap_med": 534, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1018, forks 113 (observed 2026-09-03T02:15:11.829076+00:00)

## What it is
A Rust implementation of the Starlark language, a deterministic Python3-inspired configuration language used by build systems like Bazel and Buck2. It provides a library with garbage-collected values, Rust interoperability, a linter, LSP and DAP support.

## Use cases
- embed a Starlark interpreter in a Rust application
- evaluate Starlark build configuration files
- lint Starlark code for issues
- build a custom configuration language for my tool
- add IDE support for Starlark via LSP
- debug Starlark scripts with DAP

## When to choose
- you need to evaluate Starlark from Rust
- you're building tooling around Bazel or Buck2 build files
- you want a deterministic, sandboxed configuration language embedded in Rust

## When to avoid
- you need a general-purpose scripting language
- you require a stable API across releases
- you're working in a non-Rust codebase (consider starlark-go or the Java implementation)

## Facets
- artifact type: library
- maturity: active
- function: interpreter, programming-language, linter, parser
- domain: programming-languages, developer-tools, compilers
- platform: rust, cross-platform
- tags: starlark, bazel, build-configuration, lsp, debug-adapter-protocol

## Member repositories
- facebook/starlark-rust (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:11.829076+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:45.021136+00:00, confidence not recorded.
  - readme: https://github.com/facebook/starlark-rust (fetched 2026-09-03T02:15:11.829076+00:00, sha 9d4f06c43b97)
- Data as of 2026-08-30T08:39:29.467469+00:00.
