From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Error in draft 17 grammar
Date: Tue, 19 Feb 2019 16:01:44 -0800 (PST)
Date: 2019-02-19T16:01:44-08:00 [thread overview]
Message-ID: <3daa4a66-8471-4ed6-a2d3-d3a49c53252b@googlegroups.com> (raw)
In-Reply-To: <q4i3r5$kqo$1@franka.jacob-sparre.dk>
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.
next prev parent reply other threads:[~2019-02-20 0:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 22:06 Error in draft 17 grammar Lucretia
2019-02-19 23:35 ` Randy Brukardt
2019-02-20 0:01 ` Lucretia [this message]
2019-02-20 9:43 ` Stéphane Rivière
2019-02-20 9:54 ` Lucretia
2019-02-20 23:40 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox