- From: Norm Tovey-Walsh <norm@saxonica.com>
- Date: Sun, 27 Aug 2023 10:15:40 +0100
- To: "Liam R. E. Quin" <liam@fromoldbooks.org>
- Cc: graydonish@gmail.com, public-ixml@w3.org
Received on Sunday, 27 August 2023 09:20:05 UTC
"Liam R. E. Quin" <liam@fromoldbooks.org> writes:
> Maybe, in ixml,
>
> -empty: .
>
> could help?? Then use empty in productions. Might make ambiguities
> though, hmm.
Just using () helps:
rule: name, "=", value; () .
And you can certainly define your own terminal “empty”, but that won’t
help with examples like the one that started this thread where the
author chose not to do that.
> The ixml syntax is already a little unusual, or at least i find it
> unfamiliar, and adding more symbols isn't going to help with that. But
> a styling convention might.
All syntax is unfamiliar until you get, uh, familiar with it, so I’m not
persuaded by that assertion.
I have had occasion to use two other EBNF syntaxes recently. Near as I
can tell, they’re all a little unusual.
Be seeing you,
norm
--
Norm Tovey-Walsh
Saxonica
Received on Sunday, 27 August 2023 09:20:05 UTC