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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!news.roellig-ltd.de!open-news-network.org!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 27 Jan 2018 10:37:37 -0600 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Why *.adb and *.ads? Date: Sat, 27 Jan 2018 11:37:38 -0500 Organization: IISS Elusive Unicorn Message-ID: <99ap6dpueapatg148mto910ve8vhl8jcso@4ax.com> References: User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.73.118.199 X-Trace: sv3-RdvGVxm7lec2kuU69QAIlLKvwCgnydZl/2tuPnyAfFexqRY64TWYk5Dm6DHCvzPytWToXlrMG7OQWkZ!4BH+YrKktRau1KX2xKTVKF20++0h5EBEBgB4DFC8TmA8cFcfA2mkol8UHsJsLlLBW66ltMivY6hh!MAxcsC43N9nTDEDNhjfMpxrItCwO X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2489 X-Received-Body-CRC: 2486320839 X-Received-Bytes: 2732 Xref: reader02.eternal-september.org comp.lang.ada:50184 Date: 2018-01-27T11:37:38-05:00 List-Id: On Sat, 27 Jan 2018 08:45:09 -0700, Norman Worth declaimed the following: >Andrew Shvets wrote: >> I'm curious, why do the source files in Ada have the file endings of *.ads and *.adb? Is there a reason for this? Or any background story? >> >This has nothing to do with the Ada language. It is a characteristic of >the GNAT Ada compiler, which is probably the most common Ada compiler. >Other compilers may use other tags to identifier their source files. >I've seen .ada commonly. .1.ada and .2.ada is the variant I've seen most often outside of .ads/.adb. It's even a built-in alternative for GPS. Even the Ada83 cross-compiler I'd had to use on my last employment seemed to be configured to the GNAT .ads/.adb convention (along with a few other extensions for processor specific code -- apparently how they handled the equivalent of dual code trees; one for target, one for simulation system). Granted, this may have been a result of some historical refactoring so they could use GNAT on Windows for test compilation/editing, as telnet into a VMS box (virtual for the last half decade or so) is not comfortable -- VMS editors don't translate well to non-VT keyboards. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/