bazelbuild/starlark
View on GitHub ↗ ★ 3,120 Python
Starlark Language
38 mentions on Hacker News by 31 people: 6 stories, 32 comments · first 2018-08-17 · latest 2026-05-05
20082026
-
…bounded execution time. I really wish more projects would reach for it as a configuration language. https://github.com/bazelbuild/starlark
comment by HALtheWise · 2026-05-05 · in PyInfra 3.8.0 -
…methods of composition. 1. https://cuelang.org/docs/introduction/#philosophy-and-princi... 2. https://github.com/bazelbuild/starlark?tab=readme-ov-file#de...
comment by d4mi3n · 2025-06-19 · in What would a Kubernetes 2.0 look like -
…privs" (or "allow-list") is super powerful. Starlark is supposedly a limited version of python ( https://github.com/bazelbuild/starlark ), but what if you could say in python itself: def foo(): """use strict; use no_func_calls; use…
comment by ramses0 · 2024-12-15 · in Should programming languages be safe or powerful? -
…I also decided to give an error for this, by making the comparison operators non associative. https://github.com/bazelbuild/starlark/blob/master/design.md... I agree this Python feature can look cute, but I've found it's rarely useful and…
comment by laurentlb · 2024-11-04 · in Interview gone wrong -
Starlark is a nice embeddable scripting language, though. Java, Go, and Rust implementations: https://github.com/bazelbuild/starlark/blob/master/users.md#...
comment by jrockway · 2024-10-18 · in JSON Patch -
…However, an implementation may allow clients to disable this check, allowing unbounded recursion. https://github.com/bazelbuild/starlark/blob/master/spec.md I do kind of agree with you about this, though: > At that point, just give your…
comment by pxc · 2024-08-13 · in What you learn by making a new programming language -
…build configuration with Blaze, Bazel, Buck2, Caddy, "Starlark implementations, tools, and users" https://github.com/bazelbuild/starlark/blob/master/users.md
comment by westurner · 2024-07-30 · in RestrictedPython -
…and you have to be very careful to have that evaluation step return meaningful errors. Starlark ( https://github.com/bazelbuild/starlark ) is an example of using Python-ish as a "configuration" language. That took an absolutely massive…
comment by GeneralMayhem · 2024-06-18 · in Every Way to Get Structured Output from LLMs -
▲ 78
Starlark Languagestory by zerojames · 2024-06-16 · 49 comments
-
…complete, which is imo one of the more interesting characteristics it has. Recursion is forbidden ( https://github.com/bazelbuild/starlark/blob/master/spec.md#f... ) and loops must be structural; there is no while loop or other unbounded…
comment by gue5t · 2024-06-06 · in An Overview of the Starlark Language -
…if you worked with any teams that deal with hardware or third-party/acquisition stuff). 0. https://github.com/bazelbuild/starlark
comment by filoleg · 2024-04-26 · in Google lays off its Python team -
▲ 1
(The) Starlark Languagestory by peter_d_sherman · 2024-02-21 · 1 comment
-
The implementations and users page mentioned above: https://github.com/bazelbuild/starlark/blob/master/users.md
comment by Terretta · 2024-02-03 · in Pkl, a Programming Language for Configuration -
…readme example shows a rare correct implementation of FizzBuzz, with no unique case for "FizzBuzz". https://github.com/bazelbuild/starlark
comment by Terretta · 2024-02-03 · in Pkl, a Programming Language for Configuration -
▲ 3
Language design of Starlark (compared to Python)story by PaulHoule · 2024-01-09 · 0 comments
-
▲ 2
Language design of Starlark (compared to Python)story by todsacerdoti · 2024-01-03 · 0 comments
-
…languages: https://blog.matt-rickard.com/p/the-python-family-of-languag... Starlark lang spec: https://github.com/bazelbuild/starlark/blob/master/spec.md Google implementations: https://github.com/google/starlark-go/…
comment by 1letterunixname · 2023-12-30 · in GDScript – Custom scripting language to be used with the Godot game engine -
…standalone interpreter to play with and couldn't. There is a list of projects that use Starlark at https://github.com/bazelbuild/starlark#users . It lists https://github.com/carvel-dev/ytt for YAML templating and…
comment by networked · 2023-09-28 · in That's a Lot of YAML -
…Bazel, is in that vein, though goes a bit further by supporting functions (with many restrictions): https://github.com/bazelbuild/starlark/tree/master
comment by ceras · 2023-09-21 · in XML is better than YAML – Hear me out -
…embedded, it's a very simple language, and has 3 implementations (in Java, in Go and in Rust). [1] https://github.com/bazelbuild/starlark
comment by laurentlb · 2023-05-29 · in Lua: The Little Language That Could -
In the design of Starlark ( https://github.com/bazelbuild/starlark ), I often had to push back against new feature requests to keep the language simple. I explicitly listed simplicity as a design goal.i Of course, the scope of the language…
comment by laurentlb · 2023-03-25 · in How big should a programming language be? -
…possibility of a data race, because shared data structures become immutable due to freezing." from https://github.com/bazelbuild/starlark/blob/master/spec.md - it's not python, you can't do recursion (!) and it's more limited (you can't…
comment by malkia · 2023-02-22 · in Launch HN: Moonrepo (YC W23) – Open-source build system -
Have you seen Starlark? It's not too far from that, but safer in a number of ways: https://github.com/bazelbuild/starlark
comment by Groxx · 2022-07-15 · in The Dhall Configuration Language -
And if you need python-like configurability/reprogrammability, with go, you can use Starlark. https://github.com/bazelbuild/starlark
comment by numbsafari · 2021-12-04 · in Compile Python applications into stand-alone executables -
A radically different alternative with a lot going for it is Starlark: https://github.com/bazelbuild/starlark It’s a deterministic subset of Python. This means that if you have complex or repetitive configurations, you can use loops and…
comment by georgewfraser · 2021-11-14 · in YAML: It's Time to Move On -
…in your config file. See Starlark, which is a subset of Python used by the Bazel build system - https://github.com/bazelbuild/starlark
comment by nsm · 2021-02-26 · in Intercal, YAML, and Other Horrible Programming Languages -
fyi, Starlark dropped compatibility with Python 2 two years ago ( https://github.com/bazelbuild/starlark/issues/27 ) People interested in type annotations can check this discussion: https://github.com/bazelbuild/starlark/issues/106 For…
comment by laurentlb · 2020-11-29 · in Please – A cross-language build system -
Regarding Starlark, there's a discussion on this topic: https://github.com/bazelbuild/starlark/issues/97 (note that Neil, the author of the blog post, commented there too) My experience working on build systems and Bazel is that recursion…
comment by laurentlb · 2020-11-10 · in Turing Incomplete Languages -
It's slightly more constrained for performance but maybe Starlark is what you're looking for? https://github.com/bazelbuild/starlark
comment by vsgzusnex · 2020-08-16 · in MicroPython -
…the other hand, almost no Python library will run. This feels paradoxical, but that's what it is. https://github.com/bazelbuild/starlark
comment by sanxiyn · 2020-07-02 · in What is the core of the Python programming language? -
…by the Delve debugger for example: https://github.com/go-delve/delve/blob/master/Documentation/... https://github.com/bazelbuild/starlark/blob/master/users.md
comment by frou_dh · 2020-01-23 · in See Python, See Python Go, Go Python Go (2016) -
…are guaranteed to not mess with sensible stuff edit : some starlark design choices explained : https://github.com/bazelbuild/starlark/blob/master/design.md
comment by antpls · 2019-08-16 · in Static Analysis at Scale: An Instagram Story -
…doesn't change, you are 100% sure your refactor is safe. Bazel's StarLark dialect of Python ( https://github.com/bazelbuild/starlark ) has similar benefits. The language is simple and remarkably well specified, enough that we implemented…
comment by lihaoyi · 2019-07-05 · in Dhall: A Non-Repetitive Alternative to YAML -
…to Jenkins scripting and may improve scaling Drone for larger projects (time will tell). [1] https://github.com/bazelbuild/starlark
comment by bradrydzewski · 2019-04-29 · in Jenkins Is Getting Old -
▲ 2
The Starlark Configuration Languagestory by jingwen · 2019-02-25 · 0 comments
-
Bazel's language ( https://github.com/bazelbuild/starlark ), also used in Buck and other tools, is technically not Turing-complete. In Bazel's BUILD files, there are additional restrictions (e.g. no function definition), making them…
comment by laurentlb · 2018-09-20 · in Show HN: SAN – a Safe and Nice TOML/YAML Alternative -
▲ 2
Starlark configuration languagestory by laurentlb · 2018-08-17 · 0 comments