Re: Further thoughts on delimiter choices

Tom Hillman writes:

> c.f. this note:
>
> https://www.w3.org/TR/xquery-31/#id-map-constructors

While I have a great affection and respect for many of those who served
in the XQuery WG and admire the languages they and the XSLT WG created,
their approach to grammar design and parsing is not a part of their
activity that anyone should wish to emulate.  Ad hoc rules of the form
"if this doesn't work right, try adding whitespace" are a prime example
of why.

The XQuery grammar is ... not an example of admirable syntax design.

Michael



-- 
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
http://blackmesatech.com

Received on Wednesday, 19 January 2022 15:47:43 UTC