3 ms·
Is there a standalone Starlark tool? Similar to `jsonnet`, something that I can use to run Starlark code to generate JSON or YAML?
by remram 3y ago
Is there a standalone Starlark tool? Similar to `jsonnet`, something that I can use to run Starlark code to generate JSON or YAML?
- networked 3y agoI once tried to find a simple standalone interpreter to play with and couldn't. There is a list of projects that use Starlark at https://github.com/bazelbuild/starlark#users https://github.com/bazelbuild/starlark#users. It lists https://github.com/carvel-dev/ytt https://github.com/carvel-dev/ytt for YAML templating and https://github.com/jathu/starfig https://github.com/jathu/starfig for generating JSON and YAML configs. (I have not used either.)