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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:35c2:: with SMTP id k63-v6mr2816076ioo.38.1526044195391; Fri, 11 May 2018 06:09:55 -0700 (PDT) X-Received: by 2002:a9d:5191:: with SMTP id y17-v6mr263433otg.12.1526044195155; Fri, 11 May 2018 06:09:55 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!85.12.16.68.MISMATCH!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!v8-v6no455119itc.0!news-out.google.com!f20-v6ni418itd.0!nntp.google.com!u74-v6no471703itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 11 May 2018 06:09:54 -0700 (PDT) In-Reply-To: <87y3gq36eq.fsf@nightsong.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: <87h8no1nli.fsf@nightsong.com> <874ljo1hvy.fsf@nightsong.com> <87vac4z2lh.fsf@nightsong.com> <87lgcszjdn.fsf@nightsong.com> <87sh6z1kkg.fsf@nightsong.com> <87k1sb1dt3.fsf@nightsong.com> <87d0y3ys2g.fsf@nightsong.com> <87y3gq36eq.fsf@nightsong.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How to get Ada to ?cross the chasm?? From: Lucretia Injection-Date: Fri, 11 May 2018 13:09:55 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3511 X-Received-Body-CRC: 2477448797 Xref: reader02.eternal-september.org comp.lang.ada:52270 Date: 2018-05-11T06:09:54-07:00 List-Id: On Friday, 11 May 2018 10:09:34 UTC+1, Paul Rubin wrote: > But, you unquestionably understand the issue better than I do. >=20 > What I don't understand is, why didn't the same issue apply to Pascal? Pascal never had packages, only later dialects did. Pascal was developed as= a teaching language, Wirth said that it was down to implementers to extend= the language. It was underdefined and should never have been extended the = way it was, IMO, it should've been kept as a simple teaching language. > > the withed declarations are (re-)compiled on the fly when the withing > > unit is compiled. The penalty for such recompilation is smaller today, > > with faster machines and compilers. >=20 > It's just the .ads that's included, right? Was the speed that bad an > issue even on the old machines? Is Ada really harder to compile than > Pascal? I've always liked this article even though I never used Turbo Yes it is. See the grammar, it's very ambiguous. Pascal's grammar can be ta= ken from the page and written directly as functions to make a a recursive d= escent parser. When creating a parser for Ada, you need to first work out where to put pra= gma, because for some stupid reason, they didn't bother to include it in th= e correct places in the grammar, seriously, search for "pragma" http://www.= ada-auth.org/standards/rm12_w_tc1/html/RM-P.html You then need go through and sort out the grammar so it will work for you, = whether hand coding or tool. You then have *syntactic* names all over the p= lace which is part of overload resolution. It's tricky.