From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:5e90:: with SMTP id h138mr4066330itb.27.1550620905460; Tue, 19 Feb 2019 16:01:45 -0800 (PST) X-Received: by 2002:a9d:53c8:: with SMTP id i8mr179692oth.7.1550620905262; Tue, 19 Feb 2019 16:01:45 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!y42no23530ita.0!news-out.google.com!v188ni29itb.0!nntp.google.com!y42no23525ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Feb 2019 16:01:44 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3daa4a66-8471-4ed6-a2d3-d3a49c53252b@googlegroups.com> Subject: Re: Error in draft 17 grammar From: Lucretia Injection-Date: Wed, 20 Feb 2019 00:01:45 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55595 Date: 2019-02-19T16:01:44-08:00 List-Id: On Tuesday, 19 February 2019 23:35:03 UTC, Randy Brukardt wrote: > > 4.3.5: > > key_choice ::= key_expression {| discrete_range} > > > > ? > > No, it's a stray '}'. Just delete it. If you've ever looked at the source > files, they're chock full of square and curly brackets (mainly because the > other delimiters that Scribe allowed appear in too much Ada text to use them > frequently -- Scribe doesn't have a quoting mechanism, rather it has six > pairs of delimiters, and you have to put a pair that isn't used in the > actual text. Yuck.) So these happen periodically, and syntax is the worst > (since it uses ] and } and ) and might use >, or " or '). I haven't yet > found something that uses something from all six pairs, but it wouldn't > surprise me if I did. > > Anyway, it's best to send these sorts of comments directly to me (using the > agent e-mail) or to the Ada-Comment list. Best not to hope I find them > somewhere else. I don't know what Scribe is, but it sounds ancient. Have you ever thought about updating to something else like ASCIIDoc(tor)? Also, as you've started to add '[' and ']' to the grammar, any change of doing the same for ',' ';' '(' ')' '=>' etc? It'd make the grammar clearer.