Replies: 1 comment 5 replies
-
Looks good IMO.
Yes, I think similarly node names can also be just
Not sure, but I do know that kdljs does not distinguish between the two but kdl4j does. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
KDL specification does not explicitly define a data model but only a syntax that implies some data model of KDL. As long as you parse from KDL syntax into some data structure of a programming language, a KDL data model is not needed. In contrast both KQL and KDL Schema build on a data model. The lack of its explicit definition leaves open handling of some edge cases, such as:
("")value
differ fromvalue
)?node {}
differ fromnode
)?The data model should abstract from syntax details such as comments, how nodes are terminated, whether names are given as bare identifiers or given as strings etc.
Here is a draft of a possible data model (without explicit definition of name and value and both questions above answered with no):
Beta Was this translation helpful? Give feedback.
All reactions