logoalt Hacker News

laurentlb12/09/20240 repliesview on HN

You've probably looked only at the Bazel BUILD files. They are indeed quite declarative (as the syntax is restricted even more).

If you open other Starlark files that have functions (in Bazel, that would be in .bzl files), you should recognize the Python syntax (e.g. `def` statements + space indentation).