kdl-org / kdl

the kdl document language specifications
https://kdl.dev
Other
1.07k stars 61 forks source link

Why is comma disallowed from idents? #346

Closed tabatkins closed 7 months ago

tabatkins commented 7 months ago

The current set of disallowed chars in idents is \/(){}<>;[]=,", which fall into three categories: grouping chars (){}<>[]; chars used for other KDL syntax \/;="; and then a comma. Why is the comma, specifically, disallowed here? Was it intended to be a part of KDL syntax at some earlier stage and accidentally stuck around?

zkat commented 7 months ago

this is for KQL, so you can have selectors like foo,bar