comp.lang.ada
 help / color / mirror / Atom feed
* Re: File name conventions for Ada units
@ 1990-10-05 12:04 munck
  1990-10-08 15:10 ` Library implementation, was file name conventions Jerry Callen
  0 siblings, 1 reply; 2+ messages in thread
From: munck @ 1990-10-05 12:04 UTC (permalink / raw)


Alex Blakemore writes:

>Even better, some systems (e.g. Rational) don't view source as files
>- you edit the actual library units.  This problem never arises. 

and Robert Firth replies:

> And this, surely, is the right answer. ...

Well, maybe.  It seems to me that it just moves the problem under discussion,
since the library itself is a file (always?) with the possibility of being
named "name.type".  The REAL problem, of course, is that UNIX, MSDOS, VMS,
and everything else in wide use allow names of that form, leading good Ada
programmers to equate the ".type" with the TYPE of an Ada object.  Encoding
the type of something in its name is a state-of-the-art solution made popular
by FORTRAN I, except that FORTRAN enforced the IJK.. convention and these
"modern" OSs do not.

The real right answer is that of modern PSE data repositories such as
CAIS-A, PCTE+, and ATIS, the strongly-typed Entity-Relationship-Attribute
data structure.  Ada source code, if that's what your system uses, should
be contained in an object of type AdaSource, with CompiledInto relationships
to objects of type AdaLibrary.  Better, of course, would be what TeleSoft
is said to be doing on PCTE+, implementing the library as an ERA structure.
Then all the tools that need to operate on data found in the library - editors,
compilers, analyzers, linkers, etc - can "see" the entities and relationships
in the library.

Bob Munck

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1990-10-08 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1990-10-05 12:04 File name conventions for Ada units munck
1990-10-08 15:10 ` Library implementation, was file name conventions Jerry Callen

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