comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: What are Ada file extensions?
Date: 1997/11/04
Date: 1997-11-04T00:00:00+00:00	[thread overview]
Message-ID: <dewar.878701419@merv> (raw)
In-Reply-To: 345EE381.799B@xperts.hu


Gabor says

<<What filename extensions Ada source files have? GNAT uses .ada, .adb,
.ads, but as I know there are many implementation with many set of
filename extensions.>>

First of all, this is, as you suggest most definitely an issue of
implementations. The Ada language itself has no concept of Ada
"source files". The decision to store sources in files is an
implementation dependent one.

As for extensions, again implementations differ. Contrary to the statement
above, GNAT allows arbitrary extensions to be used (the default is .ads
for a spec and .adb for a body, but these defaults can be overridden
using the Source_File_Name pragma and the -x ada switch for gcc.

Robert Dewar
Ada Core Technologies





  reply	other threads:[~1997-11-04  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-04  0:00 What are Ada file extensions? Guest
1997-11-04  0:00 ` Robert Dewar [this message]
1997-11-04  0:00 ` Matthew Heaney
1997-11-08  0:00 ` TConiam
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox