skylark
skylark copied to clipboard
Skylark in Go: the Skylark configuration language, implemented in Go [MOVED to go.starlark.net]
Apparently, this repo is deprecated and moved to https://github.com/google/starlark-go, please archive it to make it clear.
I tried to use for-else, only to discover it does not exist (`syntax error at 'else': expected expression`). ```python for root in roots: if src.path.startswith(root): modules.append(create_module(name = src.path[len(root):], file =...
Hi, we updated an exported function comment based on best practices from [Effective Go](https://golang.org/doc/effective_go.html#commentary). It’s admittedly a relatively minor fix up. Does this help you?
DataFile claimed to do that before but did not work! Now has fallback, which reads TEST_SRCDIR (set by Bazel) and builds Bazely path. For this to work had to remove...
Additional remarks: - Note that octal int literals are 0oNNN, but octal escapes in string literals (a TODO for the spec) are \NNN. - For bitwise operators, it's not obvious...
