comp.lang.ada
 help / color / mirror / Atom feed
From: stt@houdini.camb.inmet.com (Tucker Taft)
Subject: Re: Filename for packages?
Date: 1998/10/04
Date: 1998-10-04T00:00:00+00:00	[thread overview]
Message-ID: <F0B04u.L04.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: 36176A49.2D6C05CA@phoenix.net

Renwick Preston (rpreston@phoenix.net) wrote:

: I just started looking into Ada and I'm unsure how to name my files. Should the package
: specification filename end with a .ads and the body a .adb? 

This is not standardized across Ada compilers.  Here are some
conventions that different compilers use:

   GNAT        spec = *.ads, body = *.adb
   Rational    spec = *.1.ada, body = *.2.ada
   VADS        spec = *_.a, body = *.a
   Aonix       any of the above are OK; another is:
                 spec = *.spc, body = *.bdy
   Green Hills <same as Aonix>

Given the easy availability of GNAT, I suspect that *.ads/*.adb is the
most widely used convention at this point.

: ... I can't find that information
: in the book Ada 95... by Feldman.

It's not standardized at the language level.  Probably *.ads/*.adb is
the safest choice these days.

: Thanks,
: Ren

--
-Tucker Taft   stt@inmet.com   http://www.inmet.com/~stt/
Intermetrics, Inc.  Burlington, MA  USA
An AverStar Company




  reply	other threads:[~1998-10-04  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-04  0:00 Filename for packages? Renwick Preston
1998-10-04  0:00 ` Tucker Taft [this message]
1998-10-05  0:00   ` dewarr
1998-10-05  0:00     ` Peter Hermann
1998-10-05  0:00       ` dennison
1998-10-05  0:00       ` dewarr
1998-10-05  0:00         ` Markus Kuhn
1998-10-05  0:00         ` Gautier.DeMontmollin
1998-10-05  0:00           ` dewar
1998-10-05  0:00             ` Michael F Brenner
1998-10-05  0:00             ` Jerry van Dijk
1998-10-04  0:00 ` Chris Morgan
1998-10-05  0:00 ` dennison
1998-10-05  0:00 ` dewarr
replies disabled

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