starlark-go is the official Go implementation of the Starlark programming language, a Python-like, dynamically typed configuration and scripting language originally developed for the Bazel build system. Starlark combines Python’s expressiveness and readability with deterministic execution, making it ideal for defining build configurations, scripting automation, and embedding domain-specific logic in applications. The Go-based interpreter allows developers to run or embed Starlark programs directly within Go applications, extending them with user-defined scripts and configurable logic. Unlike Python, Starlark supports parallel execution across multiple threads and maintains deterministic behavior, making it suitable for scalable and reproducible workloads. It offers familiar syntax features such as dictionaries, lists, and first-class functions with lexical scoping.

Features

  • Go implementation of the Starlark scripting and configuration language
  • Deterministic, parallel, and sandboxed execution for reliable automation
  • Python-like syntax with support for dynamic types and high-level data structures
  • Easily embeddable interpreter within Go applications
  • Interactive REPL for quick experimentation and debugging
  • Compatible with the Starlark specification used by the Bazel build tool

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Starlark in Go

Starlark in Go Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Starlark in Go!

Additional Project Details

Programming Language

Go

Related Categories

Go Programming Languages

Registered

2025-10-10