Starlark

1 program Added 2025-10-27T13:12:16Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: Skylark
Provenance: commit 281ee1f2ff · authored 2025-10-27T14:12:16+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

7 sources · pl_id: pl/starlark
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotWikidata · Q28865

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsmulti-paradigm: object-oriented · procedural (imperative) · functional · structured · reflective
Typingduck, dynamic, strong; optional type annotations
Designed byPython Software Foundation · Guido van Rossum
First appeared1991
Influenced byABC · Ada · ALGOL 68 · APL · C · C++ · CLU · Dylan · Haskell · Icon · Lisp · Modula-3 · Perl · Standard ML
LicensePython Software Foundation License
Homepagehttps://www.python.org/

Extensions claimed by this language

16 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.bzllinguistprimary376.5K files
.pypygmentsprimary455.0M files
.buckpygmentssecondary197 files
.buildpygmentssecondary1.1M files
.bzlpygmentssecondary376.5K files
.jypygmentssecondary5.0K files
.pyipygmentssecondary844.5K files
.pywpygmentssecondary114.6K files
.sagepygmentssecondary53.5K files
.scpygmentssecondary588.1K files
.sconscriptpygmentssecondary2.0K files
.sconstructpygmentssecondary255 files
.starlinguistsecondary94.9K files
.tacpygmentssecondary63.6K files
.workspacepygmentssecondary68.3K files
.starwikipediaproposed94.9K files

Related languages

SPARK (0.22)Starry (0.21)StarLogo (0.20)StarLisp (0.18)Stan (0.17)

LLM-contributed programs

Simple Custom Rule Definition

Provenance: commit 281ee1f2ff · authored 2025-10-27T14:12:16+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.bzl · added: 2025-10-27T13:12:16Z
def _my_rule_impl(ctx):
  out = ctx.actions.declare_file(ctx.label.name)
  ctx.actions.write(
      out,
      "Hello from rule %s" % ctx.label,
  )
  return DefaultInfo(files = depset([out]))

my_rule = rule(
    implementation = _my_rule_impl,
)

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.star/1.stardefault[]

Contribute — propose a file extension

Tell us where to find evidence about Starlark (mapped to pl/starlark). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Starlark/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Starfish StarLisp →