google/starlark-go
View on GitHub ↗ ★ 2,789 Go
Starlark in Go: the Starlark configuration language, implemented in Go
23 mentions on Hacker News by 19 people: 2 stories, 21 comments · first 2018-11-16 · latest 2026-06-18
20082026
-
…Sounds worth reading. My current choice of Go interpreter for untrusted code is Starlark in Go ( https://github.com/google/starlark-go/ ). Since Starlark is a dialect of Python, it's occurred to me it might be fun to put a Hy-like (…
comment by networked · 2026-06-18 · in Clojure Hosted on Go -
Clace is built in go as a reverse proxy. Clace uses https://github.com/google/starlark-go as its configuration language. This allows full Hypermedia driven apps to be built in Clace, running within the main Clace process. For example:…
comment by ajayvk · 2024-09-11 · in Show HN: Clace – Application Server with support for scaling down to zero -
…;-) That's what many C++ libs basically achieve with their heavy use of overloading, tmp, etc [0] - https://github.com/google/starlark-go or alternatively https://github.com/facebook/starlark-rust
comment by dilyevsky · 2024-08-12 · in Go is my hammer, and everything is a nail -
…exactly that [3] over Temporal [4], though we also support Python as well among other runtimes. [1] https://github.com/google/starlark-go [2] https://github.com/facebook/starlark-rust [3] https://autokitteh.com ,…
comment by itayd · 2024-06-16 · in Starlark Language -
…performance when I started but perf has not been a concern in the context of a web app server. [1] https://github.com/google/starlark-go [2] https://github.com/claceio/clace [3] https://clace.io/docs/plugins/overview/#automatic-error-hand..…
comment by ajayvk · 2024-06-06 · in An Overview of the Starlark Language -
…lang spec: https://github.com/bazelbuild/starlark/blob/master/spec.md Google implementations: https://github.com/google/starlark-go/ https://github.com/bazelbuild/bazel/tree/master/src/main/jav... Rust Google implementation taken over by…
comment by 1letterunixname · 2023-12-30 · in GDScript – Custom scripting language to be used with the Godot game engine -
Starlark in go https://github.com/google/starlark-go is a great way to combine the best of both, the ease of use of Python and the simplicity of go. I have been building a platform for deploying internal web applications using this…
comment by ajayvk · 2023-11-27 · in Python Is Easy. Go Is Simple. Simple != Easy -
▲ 2
Show HN: Clace – Secure hypermedia web applications using Starlark and gostory by ajayvk · 2023-10-18 · 0 comments
-
…in Bazel but its been re-implemented in go and rust and has found use in a bunch of other places. https://github.com/google/starlark-go
comment by sam_on_the_web · 2023-08-24 · in Jacobin: A more than minimal JVM written in Go -
You might also want to take look at Starlark, which has a Go implementation: https://github.com/google/starlark-go
comment by lima · 2023-04-21 · in Show HN: Gsubpy, an interpreter for subset of Python, written in Go -
https://github.com/google/starlark-go
comment by rtpg · 2022-07-15 · in The Dhall Configuration Language -
▲ 2
Starlark: Parallel Python dialect implemented in Gostory by nateb2022 · 2022-05-26 · 0 comments
-
A commenter in another thread raises a good point: why not Starlark? https://github.com/google/starlark-go Starlark is so, so good by comparison to Cue.
comment by xyzzy_plugh · 2021-10-19 · in Cue: A new language for data validation -
Just a guess, https://github.com/google/starlark-go perhaps? It is a subset of Python.
comment by captn3m0 · 2021-10-19 · in Cue: A new language for data validation -
…[1] https://github.com/bazelbuild/bazel/tree/master/src/main/jav... [2] https://github.com/google/starlark-go
comment by conroy · 2020-04-05 · in Configs suck? Try a real programming language -
…can be embedded in a Go program, to facilitate runtime scriptability and programmable config files: https://github.com/google/starlark-go https://github.com/starlight-go/starlight It seems to be used by the Delve debugger for example:…
comment by frou_dh · 2020-01-23 · in See Python, See Python Go, Go Python Go (2016) -
…in with "safe interpreters".). The appearance of restricted configuration languages like Starlark ( https://github.com/google/starlark-go ), Jsonnet ( https://jsonnet.org/ ), and Dhall ( https://dhall-lang.org/ ) looks like a reaction to…
comment by networked · 2019-09-30 · in Show HN: Ansible Crash Course -
…(available in Go and I think Java). Nice if you want to be able to compute things during config. https://github.com/google/starlark-go
comment by jaten · 2019-08-20 · in YAML: Probably not so great after all -
…That way, some core libraries could be rewritten and give stronger guarantees. The idea is used in https://github.com/google/starlark-go which is a subset of Python. People who are used with Python can use it to write imperative config…
comment by antpls · 2019-08-16 · in Static Analysis at Scale: An Instagram Story -
…wants to become more than niche: 1. Use a more approachable package definition language; Starlark ( https://github.com/google/starlark-go ) or Lua would probably be great choices. 2. Make it reasonable to figure out what the "type" of a…
comment by weberc2 · 2019-03-20 · in Using Go Modules -
https://github.com/google/starlark-go > Starlark is a dialect of Python intended for use as a configuration language
comment by aeosynth · 2018-11-16 · in Golua – A Lua 5.3 engine implemented in Go