Hacker News new | past | comments | ask | show | jobs | submit login

Among types and other useful properties, CUE supports everything you asked for. We're even considering adding a "data-only" mode to CUE which would be exactly what you asked for.

https://cuelang.org




Is there any concise representation of the language spec? Similar to the spec of JSON [1].

[1] https://www.json.org/json-en.html


No, we do have a spec[1], but it cannot be as concise as the JSON link posted because the JSON link is mostly only about syntax, and our spec discusses both syntax and semantics. And of course, we are a much richer language than JSON, with many more features and computational behavior.

That being said, it would be nice to use railroad diagrams to describe syntax in our spec.

[1] https://cuelang.org/docs/references/spec




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: