Hacker GitHub

← All repos

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

Mentions per year 23 mentions · busiest year 2023 (5)
20082026
  1. …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
  2. The python-esque sandboxed language is Starlark: https://github.com/google/starlark-go#documentation
    comment by mdaniel · 2024-09-27 · in Tcl 9.0
  3. 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:…
  4. …;-) 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
  5. …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
  6. …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
  7. …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…
  8. 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…
  9. …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
  10. You might also want to take look at Starlark, which has a Go implementation: https://github.com/google/starlark-go
  11. https://github.com/google/starlark-go
    comment by rtpg · 2022-07-15 · in The Dhall Configuration Language
  12. So like https://github.com/google/starlark-go ?
    comment by brokensegue · 2021-10-28 · in No YAML
  13. 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
  14. 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
  15. …[1] https://github.com/bazelbuild/bazel/tree/master/src/main/jav... [2] https://github.com/google/starlark-go
  16. …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:…
  17. …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
  18. …(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
  19. …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…
  20. …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
  21. https://github.com/google/starlark-go > Starlark is a dialect of Python intended for use as a configuration language