Caution
This library has been superseded by https://github.com/crdsonnet/astsonnet
EXPERIMENTAL
A Jsonnet library to generate jsonnet code. This library implements functions to create the Jsonnet expressions as represented in the Abstract Syntax. This allows us to generate valid Jsonnet programmatically.
Because I can... and it is fun!
And:
I've implemented static rendering for CRDsonnet a while back but have never felt very confident in it, the engine has been built through trial-and-error without following the spec. With this library I can now implement a rendering engine that works according to spec, boosting confidence that this will return valid Jsonnet.