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,cfcf6e3e7ade5a74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-30 21:12:11 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: byhoe@greenlime.com (Adrian Hoe) Newsgroups: comp.lang.ada Subject: Re: Free Ada UML tools Available / Date: 30 May 2002 21:12:10 -0700 Organization: http://groups.google.com/ Message-ID: <9ff447f2.0205302012.69da8f7c@posting.google.com> References: <3CED3807.5378EC9D@lmco.nospammmmmm.com> <9ff447f2.0205232202.2451c06e@posting.google.com> <9ff447f2.0205241831.51a00b60@posting.google.com> <9ff447f2.0205250715.53ddf36e@posting.google.com> NNTP-Posting-Host: 210.186.172.158 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1022818331 18987 127.0.0.1 (31 May 2002 04:12:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 31 May 2002 04:12:11 GMT Xref: archiver1.google.com comp.lang.ada:25050 Date: 2002-05-31T04:12:11+00:00 List-Id: byhoe@greenlime.com (Adrian Hoe) wrote in message news:<9ff447f2.0205250715.53ddf36e@posting.google.com>... > Pascal Obry wrote in message news:... > > byhoe@greenlime.com (Adrian Hoe) writes: > > > > > I gave the Dia2code a quick hack last night. I was mainly trimming > > > some of the code in generate_code_ada.c. It will generate nice spec > > > and body files now. I will put it in my website so that it is > > > available for download. > > > > BTW, did you work a bit on the indentation of the code ? > > > > > Yes, I did. I have also done some modification so that you can alter > package extension to your liking rather than the fix "_types" (eg. > package client_types, client_types.ads). Just go to the > generate_code_ada.c and change the following macro: > > #define PACKAGE_EXT "_types" > > to whatever you like. Technically speaking, the Ada code generation of Dia2Code is still far to be useful. I am wondering if there is any resources providing information and examples on UML to Ada mapping? -- -- Adrian Hoe -- http://adrianhoe.com