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.5 required=5.0 tests=BAYES_00,MSGID_RANDY, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f849b,b8d52151b7b306d2 X-Google-Attributes: gidf849b,public X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-31 08:52:21 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!nntp.TheWorld.com!alexc From: Alex Colvin Newsgroups: comp.arch.embedded,comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems Date: Wed, 31 Dec 2003 16:52:19 +0000 (UTC) Organization: The World : www.TheWorld.com : Since 1989 Message-ID: References: <3fe00b82.90228601@News.CIS.DFN.DE> <3FE026A8.3CD6A3A@yahoo.com> <3bf1uvg2ntadvahfud2rg6ujk24sora6gr@4ax.com> <2u3auvogde8ktotlaq0ldiaska3g416gus@4ax.com> <20619edc.0312221020.3fd1b4ee@posting.google.com> <20619edc.0312222106.3b369547@posting.google.com> <45cs9hAbLc6$EAAx@phaedsys.demon.co.uk> <3fe9f0d7.104475725@News.CIS.DFN.DE> <5802069.JsgInS3tXa@linux1.krischik.com> <1072464162.325936@master.nyc.kbcfp.com> <1563361.SfB03k3vvC@linux1.krischik.com> <11LvOkBBXw7$EAJw@phaedsys.demon.co.uk> <3ff0687f.528387944@News.CIS.DFN.DE> <1086072.fFeiH4ICbz@linux1.krischik.com> <3ff18d4d.603356952@News.CIS.DFN.DE> <1731094.1f7Irsyk1h@linux1.krischik.com> <3ff1b8ef.614528516@News.CIS.DFN.DE> <3ff21255.637418757@News.CIS.DFN.DE> NNTP-Posting-Host: pip1-7.std.com X-Trace: pcls4.std.com 1072889539 1413 192.74.137.187 (31 Dec 2003 16:52:19 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Wed, 31 Dec 2003 16:52:19 +0000 (UTC) User-Agent: nn/6.6.5 Xref: archiver1.google.com comp.arch.embedded:6448 comp.lang.ada:3995 Date: 2003-12-31T16:52:19+00:00 List-Id: >The empty parens are not allowed in Ada. Bob Eachus or someone else might >be able to give some of the rationale. It's a case similar to the choice >of () for array indexing rather than []. In Ada, a function result is >considered conceptually similar to a constant, as are enumeration >literals, and many of the same rules apply to them and their use. I >suspect the syntax is intended to reinforce this. I suspect that the use of () instead of [] has more to do with 7-bit character sets for European languages. See http://archive.adaic.com/standards/83rat/html/ratl-02-01.html and ISO 646. Same problem that gave us C trigraphs -- mac the na�f