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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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