# google/starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go

Repository: https://github.com/google/starlark-go
Canonical: https://ross.abutalabs.com/products/starlark-go
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2026-07-10T21:17:05+00:00

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

## Adoption (not part of the score)
Stars 2754, forks 248 (observed 2026-08-28T04:07:18.122263+00:00)

## What it is
Starlark in Go is a Go implementation of the Starlark interpreter, a deterministic dialect of Python designed as an embedded configuration and scripting language. It is the language engine behind Bazel BUILD files and can be embedded in Go applications to provide user-extensible configuration logic.

## Use cases
- embed a python-like scripting language in a go application
- evaluate bazel build files
- use starlark as a structured configuration language
- run parallel deterministic config evaluation
- add user-defined macros and logic to a build tool
- script structured data with functions

## When to choose
- you need a safe, deterministic, hermetic configuration language embedded in Go
- you are building or extending Bazel-like build tooling
- you want Python-like syntax with parallel thread evaluation

## When to avoid
- you need a general-purpose scripting language with I/O and side effects
- you need full Python compatibility or third-party Python packages
- your host application is not written in Go

## Facets
- artifact type: library
- maturity: stable
- function: interpreter, programming-language, configuration-management, developer-tools
- domain: programming-languages, developer-tools
- platform: go, cross-platform, cli
- tags: starlark, python-dialect, embedded-interpreter, bazel, build-configuration, scripting, automation

## Member repositories
- google/starlark-go (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.122263+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-30T08:18:53.017833+00:00, confidence not recorded.
  - readme: https://github.com/google/starlark-go (fetched 2026-08-28T04:07:18.122263+00:00, sha cab4192daf37)
- Data as of 2026-08-30T08:39:29.467469+00:00.
