About Playground Resources Spec

Starlark

A simple, thread-safe language with Python syntax,
designed for embedding

Starlark is a small language designed to be embedded in another application, to provide configuration or scripting abilities.

Starlark is a dialect of Python. Like Python, it is a dynamically typed language with high-level data types, first-class functions with lexical scope, and garbage collection. Independent Starlark threads execute in parallel, so Starlark workloads scale well on parallel machines. Starlark is a small and simple language with a familiar and highly readable syntax. You can use it as an expressive notation for structured data, defining functions to eliminate repetition, or you can use it to add scripting capabilities to an existing application.

Why Starlark

Get Started


Starlark was designed at Google; see bazelbuild/starlark for official documentation. However, this website is not affiliated with Google. You may contribute to this website at laurentlb/starlark-lang.org.