comp.lang.ada
 help / color / mirror / Atom feed
From: Pierre Dissaux <pierre.dissaux@tni.fr>
Subject: Re: Package reformatting tool availability
Date: 1999/09/06
Date: 1999-09-06T00:00:00+00:00	[thread overview]
Message-ID: <37D37839.41C67EA6@tni.fr> (raw)
In-Reply-To: 37CFFA58.FFC67480@res.raytheon.com

Andy Askey wrote:
> 
> Hello,
> 
> I have several Ada legacy packages that contain multiple types.  I
> prefer that each type is in its own package/file for my Ada95
> development effort.  Does anyone have (or know of) a script or other
> tool that will turn a package with multiple types into multiple packages
> with one type?
> 
> Thanx.

You could use Ada2HOOD reverse engineering utility in order to re-design
your application.

You will get a non-terminal HOOD module that is the image of your
current composite package.
It will be then possible to create lower level modules and dispatch
types and related subprograms into each of them.
This second step is not automatic, but can be performed in a graphic
editor, if you can use a HOOD tool.
Ada code may be re-generated with the new packages organization.

Benefits of this approach is that you can work at design level, and
justify creation of each "class" by proper documentation.



HOOD (Hierarchical Object Oriented Design Method) was defined to fit
software design process requirements for European Space Agency projects.
It now also used for avionics, transport, and similar applications.
HOOD4 (the last version of the method) is very close to Ada95.

Ada2HOOD is freeware developed by TNI to help reengineering Ada software
with a HOOD approach. Current version suffers from some limitations but
it may be extended easily. It produces HOOD Standard Interchange Format
(SIF) files from Ada packages. These SIF files may be loaded into any
HOOD tool (and of course into STOOD, developed by TNI, but this one is
not a freeware).

To know more about HOOD/Ada design approach:
- participate to the 3rd "Workshop on Methods and Tools for Ada95" (next
week) http://workshopada.enst-bretagne.fr
- visit our web site: http://www.tni.fr/


Pierre Dissaux
TNI




      parent reply	other threads:[~1999-09-06  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-03  0:00 Package reformatting tool availability Andy Askey
1999-09-03  0:00 ` Robert Dewar
1999-09-07  0:00   ` Andy Askey
1999-09-08  0:00     ` Robert Dewar
1999-09-11  0:00     ` Richard D Riehle
1999-09-13  0:00       ` Robert Dewar
1999-09-14  0:00       ` Mark Lundquist
1999-09-03  0:00 ` Robert Dewar
1999-09-06  0:00 ` Pierre Dissaux [this message]
replies disabled

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