Skip to content

Add Starlark/Buck2 related extensions#591

Open
lf- wants to merge 1 commit intopre-commit:mainfrom
MercuryTechnologies:jade/push-zlykqoqmqlws
Open

Add Starlark/Buck2 related extensions#591
lf- wants to merge 1 commit intopre-commit:mainfrom
MercuryTechnologies:jade/push-zlykqoqmqlws

Conversation

@lf-
Copy link
Copy Markdown

@lf- lf- commented May 4, 2026

These are marked as Bazel, because there's no particular reason to treat them as anything else.

Additionally, this expands the bazel-verse by adding a Starlark type: https://starlark-lang.org/ which is the language used by Copybara, Bazel, and Buck2.

This lets us annotate non-Bazel Starlark as being Starlark but not Bazel, while Bazel Starlark is also Starlark.

.sky is used by Copybara (actually more specifically .bara.sky). .star I've seen used in the test suite of starlark-rust, and it seems harmless to add. lib.star is mentioned as a filename in
https://starlark-lang.org/spec.html.

Reference:

These are marked as Bazel, because there's no particular reason to treat
them as anything else.

Additionally, this expands the bazel-verse by adding a Starlark
type: https://starlark-lang.org/ which is the language used by Copybara,
Bazel, and Buck2.

This lets us annotate non-Bazel Starlark as being Starlark but not
Bazel, while Bazel Starlark is also Starlark.

.sky is used by Copybara (actually more specifically .bara.sky). .star
I've seen used in the test suite of starlark-rust, and it seems harmless
to add. lib.star is mentioned as a filename in
https://starlark-lang.org/spec.html.

Reference:
- https://buck2.build/docs/bxl/
- https://buck2.build/docs/rule_authors/package_files/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant