Overview of Starlark Language
masterStarlark is an untyped, dynamic, and deterministic dialect of Python designed for configuration. It is intended for short-lived programs with no external side effects, primarily used to express structured data or interact with a host application. Key characteristics include:
- Deterministic Execution: All core functions and operators produce the same results every time, with no sources of randomness, clocks, or unspecified iterators.
- Subset of Python: It uses Python-like syntax and data types but excludes classes, exceptions, reflection, and concurrency.
- Memory Management: Features automatic garbage collection.
- Module-based: A program consists of one or more modules, each defined by a single UTF-8-encoded text file.