Re:I accidentally used YAML.parse instead of JSON.parse and ...
by stavros on Wednesday January 26, 2022 @04:32AM
(#30083485)
Isn't Dhall basically the same (=have the same set of features)?
Re:I accidentally used YAML.parse instead of JSON.parse and ...
by BiteCode_dev on Wednesday January 26, 2022 @10:04AM
(#30086312)
In the same way python and js are basically the same.
You just described CUELang.
The type system allows to define a schema as well as the data, in the same file, or in 2 separate ones. Then you can call either a cli tool (that works on linux, windows or mac) or use the Go lib (or bind to it).
For compat, cue can import and export to yaml, json and protobuf, as well as validate them.