Introduction
What is Starlark?
Starlark is a small subset of Python developed by Google for their Bazel build system. If you know Python, it should be easy to learn.
Example code
The code below is an example of the syntax of Starlark. If you've ever used Python, this should look very familiar. In fact, the code above is also a valid Python code. Still, this short example shows most of the language. Starlark is indeed a very small language. - Starlark README.md
From Starlark README.md
More Starlark documentation
Language specification (Bazel)
Language specification (starlark-go)
Modules
We have a few modules available that are available in the global scope. See Modules for more information.
Last updated