starlark
starlark copied to clipboard
Starlark Language
Examples include `dict.keys`, `dict.values`, `dict.items`, `enumerate`, and `zip`. These operations return lists like in Python 2, but they could be made to return views like in Python 3. Today, the...
For all the same reasons the `json` module was added to starlark. Note there's an implementation over here for the Go implementation of starlark https://github.com/qri-io/starlib/tree/master/encoding/yaml but I doubt that's useful...
Both the Go and the Rust implementation of starlark have installation instructions. The Java implementation does not. It'd be nice to fill out the Java installation docs. It's not obvious...
For example: ```py3 >>> x = 123 >>> type(x) is int True >>> type(x) is str False >>> ``` How to do this in Starlark?
Now we got Java, Go, and Java for Starlark. What about Python version?
Python: ``` Python 3.11.3 (main, May 3 2023, 23:19:07) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> print("%.02f" % (1/3)) 0.33 >>> print("%f"...
### Description of the feature request: Make it easier to produce nice looking error messages with `fail()`. So we can write this: ``` fail.format( "Unable to find interpreter '{name}' for...