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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d78ba5da4a579fd8 X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Filename for packages? Date: 1998/10/05 Message-ID: <6v9f67$bs2$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 397793362 References: <36176A49.2D6C05CA@phoenix.net> X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Oct 05 03:41:58 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-10-05T00:00:00+00:00 List-Id: In article , stt@houdini.camb.inmet.com (Tucker Taft) wrote: > 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 > > 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 Note that GNAT has mechanisms for handling arbitrary file names. Those listed above are simply the default names. For information on how to deal with naming of files in GNAT, consult the secret archives (namely the section in the GNAT documentation, obscurely titled "Default File Names" :-) -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own