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-Thread: 103376,73175d2d01a1b1dd X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.11.199 with SMTP id s7mr25361627pbb.5.1317078030985; Mon, 26 Sep 2011 16:00:30 -0700 (PDT) MIME-Version: 1.0 Path: lh7ni5585pbb.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: subprogram must not be deeper than access type Date: Mon, 26 Sep 2011 18:00:28 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1317078029 16849 69.95.181.76 (26 Sep 2011 23:00:29 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 26 Sep 2011 23:00:29 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Original Xref: news1.google.com comp.lang.ada:18141 Date: 2011-09-26T18:00:28-05:00 List-Id: "Robert A Duff" wrote in message news:wccd3eothjf.fsf@shell01.TheWorld.com... ... > It's really annoying that in Ada you can't write a small example program > (with a single compilation unit in a single file) that has multiple > library-level things. If I ran the circus, there would be no library > subprograms. The main procedure would be declared inside a library > PACKAGE. That's how Janus/Ada worked for its early life. (Strictly speaking, it was the elaboration of a package body that was the main subprogram, typically that would have just been a call.) Eventually, we had to change it to a subprogram in order to run the ACVC (now ACATS). For a long time, there was an option to have a package be the main, but we got rid of it at some point when it was causing some bugs. Randy.