3 ms·
A commenter in another thread raises a good point: why not Starlark? https://github.com/google/starlark-go https://github.com/google/starlark-go Starlark is so
by xyzzy_plugh 5y ago
A commenter in another thread raises a good point: why not Starlark? https://github.com/google/starlark-go https://github.com/google/starlark-go
Starlark is so, so good by comparison to Cue.
- mohanmcgeek 5y agoI have not used starlark, but to me it looks like a cleaner competitor to hcl. It can be used to generate verbose configs. It doesn't seem to enforce types and constraints on the fields. Surely there must be a way to do that using skylark..? But in cue types and constraints are just another form of values. Cue is a nicer jsonSchema competitor in which valid json is also valid cue
- throwaway894345 5y agoI’ve done a lot with Starlark, but my big beef is the lack of types. Cue aspires to be declarative which I never find myself reaching for, but maybe that’s just for lack of experience with the declarative category of tools.