starlark icon indicating copy to clipboard operation
starlark copied to clipboard

Starlark Language

Results 84 starlark issues
Sort by recently updated
recently updated
newest added

This PR aims to add [*Starlet*](https://github.com/1set/starlet) to the list of Starlark users. Starlet is a Go wrapper for the official [*Starlark in Go*](https://github.com/google/starlark-go) project, designed to enhance the Starlark scripting...

Many uses of Starlark require hashes in order to verify inputs are correct (examples include things like the `sha56` attribute of `http_archive` in Bazel). It would be very beneficial if...

When calculating things like [integrity hashes](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) (used by recent Bazel releases), it's helpful to be able to base64 encode and decode values. Starlark does not offer a mechanism to do...

A `set` data structure, similar to the one in Python, would be a useful addition. For example, it is sometimes required to ensure no duplicate values exist in a `list`,...

The spec requires that > any value may be converted to [...] a Boolean truth value using the expression `bool(x)`. This FR would consider relaxing this to allow truth-checking to...

P4
type: feature request

There are a variety of reasons why one might want to freeze a value yourself. Here's one example - defining a `foo` and a `foo_set` rule, you can't have a...

This PR should take precedence over #268 , which will be closed shortly. Submitting it via my github username so that the CLA checks pass + I can debug them!...

[PEP 498](https://www.python.org/dev/peps/pep-0498/) introduced formatted string literals which make this possible: ```pycon >>> name = "Star-Lord" >>> f"Starlark, say hi to {name}" 'Starlark, say hi to Star-Lord' ``` It would be...

e.g. `f"values: {val:,}"` --> val=123456, got `values: 123,456`