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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: GNAT GPL is not shareware Date: Tue, 13 Jan 2015 10:51:02 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <87bnmetex4.fsf@ludovic-brenta.org> <1otenmcbgnvlt$.dn9361nl2jm8$.dlg@40tude.net> <8ryfky4awox2$.q2gfw4pvsgau.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: pcls7.std.com 1421164270 13691 192.74.137.71 (13 Jan 2015 15:51:10 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 13 Jan 2015 15:51:10 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:3wb9+RWJTpIKgr2DHb0I0uxMFYk= Xref: news.eternal-september.org comp.lang.ada:24564 Date: 2015-01-13T10:51:02-05:00 List-Id: "J-P. Rosen" writes: > Le 13/01/2015 00:49, Randy Brukardt a écrit : >> A true semantic interface would talk about semantic entities only, the >> associated syntax would not enter into it. > > That would be a semantic ONLY interface, but syntax is also useful for > some tools (especially coding rules checkers ;-) ). Right, you can't very well have a semantic interface without syntax to hang it off of. > For example, checking that "end" mentions the entity name is 100% > syntactic... True. But I'd prefer 'gnatpp', which doesn't "check" that, it just sticks in the missing name for you -- similar idea. Anyway, gnatpp is primarily syntactic. Not entirely -- it knows how to capitalize usage names to match the declaration, which requires semantic information. - Bob