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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a02:c90a:: with SMTP id t10mr35219556jao.19.1546456867578; Wed, 02 Jan 2019 11:21:07 -0800 (PST) X-Received: by 2002:aca:d607:: with SMTP id n7mr569049oig.1.1546456867316; Wed, 02 Jan 2019 11:21:07 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.215.MISMATCH!k10no71203itk.0!news-out.google.com!v71ni99ita.0!nntp.google.com!k10no71200itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 2 Jan 2019 11:21:06 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.77.182.20; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ NNTP-Posting-Host: 76.77.182.20 References: <30ba8954-a19e-4c95-b350-798b0276db41@googlegroups.com> <38103aef-2528-41ae-bb29-eec551a64808@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <10d98401-d974-459f-93ed-e0b315b414e8@googlegroups.com> Subject: Re: Ada grammar rules for names too permissive? From: Stephen Leake Injection-Date: Wed, 02 Jan 2019 19:21:07 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55167 Date: 2019-01-02T11:21:06-08:00 List-Id: On Tuesday, January 1, 2019 at 12:42:36 PM UTC-8, Dmitry A. Kazakov wrote: > On 2019-01-01 20:49, Stephen Leake wrote: > > On Tuesday, January 1, 2019 at 12:44:17 AM UTC-8, Dmitry A. Kazakov wrote: > >> The grammar as written is never the one actually used for whatever > >> purpose other than explanation or, maybe, validation. An extreme case > >> illustrating why, is source code coloring, > > > > On the contrary, Emacs Ada mode source code coloring uses a generated parser for the Ada language, with only minimal changes from Annex P. > > In which case it should not work with syntactically incorrect programs. No, it has error correction to deal with that.