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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-10 03:18:46 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.vmunix.org!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "stephen.freeman9" Newsgroups: comp.lang.ada References: <400A9B48.3060100@noplace.com> <400BD4B5.6000307@noplace.com> <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <_JSdna166JuxFo3dRVn-hg@comcast.com> <401115B7.5020205@noplace.com> <1lERb.30247$zj7.21695@newsread1.news.pas.earthlink.net> Subject: Re: Standard Ada Preprocessor X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Tue, 10 Feb 2004 11:18:33 -0000 NNTP-Posting-Host: 217.137.22.2 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-gui.server.ntli.net 1076411926 217.137.22.2 (Tue, 10 Feb 2004 11:18:46 GMT) NNTP-Posting-Date: Tue, 10 Feb 2004 11:18:46 GMT Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:5389 Date: 2004-02-10T11:18:33+00:00 List-Id: This argument about C (and D) is very interesting - I have been working on Safety related work (Uk Defstan SIL 3/ Sil 4 software and DO178b level a) for flying aircraft. We use Ada (Spark Ada at that) to develop code. However the world in general knows C not Ada. D helps to strengthen C as does Misra (see Misra 2 for latest invocation) but as said - what is lacking is definition of ranges (and strong typing) . A possible solution I'm working on is "E" for want of a more novel name. This should look like C but ask the programmer to define typedef's for each logically different type s/he is using and as a comment specify the ranges that that is valid for. It then needs a pre-processor to parse that to check for inconsistancies. (perhaps convert it to Ada?) "Frank J. Lhota" wrote in message news:sWxSb.74$bn1.6@nwrdny02.gnilink.net... > > Fair enough. I hear that ostrich meat is tasty ;-) > > ... and low in fat. > >