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:a24:7c53:: with SMTP id a80-v6mr2521273itd.18.1529585100875; Thu, 21 Jun 2018 05:45:00 -0700 (PDT) X-Received: by 2002:aca:d448:: with SMTP id l69-v6mr1181617oig.0.1529585100741; Thu, 21 Jun 2018 05:45:00 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!d7-v6no2094354itj.0!news-out.google.com!z3-v6ni2817iti.0!nntp.google.com!d7-v6no2094352itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 21 Jun 2018 05:45:00 -0700 (PDT) In-Reply-To: <52b14af1-ee0a-40af-871a-beeced6bce1c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <584564c2-9f64-4965-b045-535cdaf899c0@googlegroups.com> <7cb22c58-3009-47f0-8fe7-62f3cd61785d@googlegroups.com> <52b14af1-ee0a-40af-871a-beeced6bce1c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Why are Ada compilers difficult to write ? From: "Dan'l Miller" Injection-Date: Thu, 21 Jun 2018 12:45:00 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53223 Date: 2018-06-21T05:45:00-07:00 List-Id: On Thursday, June 21, 2018 at 5:44:41 AM UTC-5, Marius Amado-Alves wrote: > The stated opposites to Ada were C and Pascal, not C++. I suspect a C++ c= ompiler is as hard to make as an > Ada one. Or even harder, because of the much higher grade of kludginess. I am pretty sure that the OP was saying by implication Pascal-family or C-f= amily compiler. (And I would categorize Java, J++, and C# as all C-esque i= n syntax, but decisively outside the C family philosophically & semanticall= y.) Has any new (not-coursework) commercial or FOSS C-proper compiler been= written from scratch since, say, 1993 onward? Not to my knowledge. The only commercial or FOSS C-family compiler to be written from scratch si= nce, say, 1993 (a quarter-century ago!) was Clang, in recent years no less.= Clang is first & foremost a C++ compiler written in C++ source code, wher= eas its C and Objective-C support are after-thought alternative modes of op= eration for Clang. Clang isn't just any old C++ compiler; Clang is the pre= mier C++ compiler (other than perhaps Edison Design Group, whose C++/C comp= iler shows up mainly in embedded world) that tries to achieve full complian= ce with any forthcoming C++ standards work. Clang even goes so far as to d= esign, implement, and release the majority of =E2=80=A2proposed=E2=80=A2 C+= +-standardization working papers as much as years prior to the release of, = say, C++20, so that =E2=80=98existing industry practice=E2=80=99 is achieve= d right about now as tantamount-to-required by ISO14882 process prior to, s= ay, C++20's official release. Even better if GCC implements that proposal = as well for comparison by the committee. http://en.cppReference.com/w/cpp/compiler_support The only major (at least historically major) C++ compiler missing from this= table is Watcom, now OpenWatcom 2.0 nowadays. Does there even exist a maj= or (either commercial or FOSS) well-maintained-all-the-way-to-C11 =E2=80= =A2C-only=E2=80=A2 compiler anymore that is not also a C++ complier? So rather than discuss via sophistry some =E2=80=A2hypothetical-since-say-1= 993=E2=80=A2 C-proper compiler written from scratch, I figured OP would rat= her empirically discuss an =E2=80=A2=E2=80=A2actually extant=E2=80=A2=E2=80= =A2 C-family compiler that was in fact written from scratch in recent years= .