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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d52a75fd633fefc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-14 12:39:05 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeeds.belnet.be!news.belnet.be!btnet-peer1!btnet-feed5!btnet!mendelevium.btinternet.com!not-for-mail From: Nick Williams Newsgroups: comp.lang.ada Subject: Re: UML (Was: Ada to C++ translator?) Date: Wed, 14 Feb 2001 20:38:51 +0000 Organization: BT Internet Message-ID: <3A8AECDB.9000101@acm.org> References: <3A844255.24A4DBA3@lmco.com> <968vnc$5a2$1@nnrp1.deja.com> NNTP-Posting-Host: host213-122-158-80.btinternet.com Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; 0.7) Gecko/20010105 X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:5260 Date: 2001-02-14T20:38:51+00:00 List-Id: Ken Garlington wrote: > : And if it can do Ada -> UML -> Ada, why should it not manage > : Ada -> UML -> C++ (or more desireable, C++ -> UML -> Ada)? > : > : Have you tried this without success before? > > My understanding is that Rose will only generate the overall structure of > the code; it's not a complete code generator (or, by extension, a > translator). Certainly, this is backed up by my own experience. Rose 98i will code generate package specifications and stubbed bodies; as well as basic accessor subprograms, but it's quite clear that UML is not sufficient to convey the full semantic meaning of a reverse engineered program. Admittedly, we are code generating for a SPARK environment, rather than an Ada one, so a great deal of the code that Rose would create (which depends heavily on access types, generics, tagged types etc) is out of bounds. I would be very surprised if Rose 2000 were very much different. Cheers, Nick.