3 ms·
Is there any concise representation of the language spec? Similar to the spec of JSON [1]. [1] https://www.json.org/json-en.html https://www.json.org/json-en.h
by conaclos 3y ago
Is there any concise representation of the language spec? Similar to the spec of JSON [1].
[1] https://www.json.org/json-en.html https://www.json.org/json-en.html
- 4ad 3y agoNo, 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 https://cuelang.org/docs/references/spec