logoalt Hacker News

paulddraper12/09/20241 replyview on HN

Starlark (originally Skylark) is the configuration/extension language of Google's build tool Bazel.

It's a bespoke Python subset... functions but no recursion, dicts but no sets, etc.

It's also been adopted by the latest version of Buck (Meta's Bazel analog).

I use it daily.

It's an option for lightweight embeddable scripting language, with implementations in Java and Go. If you want Python familiarity, consider it as an option.


Replies

nrr12/09/2024

Starlark is Turing-incomplete, which makes it somewhat unique among embeddable languages. It's definitely a draw for me for something I'm working on.

show 2 replies