From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: Why *.adb and *.ads?
Date: Sat, 27 Jan 2018 11:37:38 -0500
Date: 2018-01-27T11:37:38-05:00 [thread overview]
Message-ID: <99ap6dpueapatg148mto910ve8vhl8jcso@4ax.com> (raw)
In-Reply-To: sr-dnX5CE7MbA_HHnZ2dnUU7-YPNnZ2d@giganews.com
On Sat, 27 Jan 2018 08:45:09 -0700, Norman Worth <nworth@comcastNOSPAM.net>
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/
next prev parent reply other threads:[~2018-01-27 16:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-01 20:15 Why *.adb and *.ads? Andrew Shvets
2018-01-01 21:00 ` Jeffrey R. Carter
2018-01-02 1:50 ` Mace Ayres
2018-01-02 1:27 ` Mace Ayres
2018-01-27 15:45 ` Norman Worth
2018-01-27 16:37 ` Dennis Lee Bieber [this message]
2018-01-27 22:18 ` [OT] VMS editors and PC keyboards, was: " Simon Clubley
2018-01-27 16:40 ` Mace Ayres
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox