kdl
kdl copied to clipboard
Align KDL Query grammar with prose
The values() and props() accessors were only mentioned in the grammaer, with no explanation whatsoever about what they were supposed to do.
The val() accessor required an argument in the grammar while the prose repeatedly mentions val() as equivalent to val(0).
This was mentioned in #489. The other changes proposed in that issue are a bit more impactful (rename val() to arg(), introduce negation syntax, introduce equivalent to CSS :is()) so I wanted to get this one out of the way first.