<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Wayne Sherman via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Mo., 25. Dez. 2023, 15:46:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Dec 25, 2023 Michael Van Canneyt wrote:<br>
> In short: To make a EBNF grammar which is 100% correct is not so simple<br>
> and will make the scheme extremely difficult to understand for a reader.<br>
> So I prefer to present a simpler version, and mention some limitations<br>
>  only in the text<br>
...<br>
> There are simply so many exceptions and limitations that the 100% correct<br>
> diagram would be incomprehensible and needlessly complicated if you tried to<br>
> capture every aspect for the full 100%.<br>
<br>
If the EBNF grammar is only a guide provided as documentation for a<br>
human reader then you might want that.  But if the EBNF grammar is<br>
used to drive a parser then it needs to be fully complete, accurate,<br>
and machine readable (see below).<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The grammar embedded in the documentation is just that: a guide.</div><div dir="auto">Though that doesn't mean that Michael isn't trying to fix as many of the points that Adriaan mentioned as reasonably possible, because there obviously have been mistakes and oversights.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>