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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c459ff0adb576bc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-03 01:45:07 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: Volkert.Barr@freenet.de (Volkert) Newsgroups: comp.lang.ada Subject: Re: Refactoring and Ada Date: 3 Feb 2002 01:45:05 -0800 Organization: http://groups.google.com/ Message-ID: References: <3C5AB0B7.9D75D49A@grammatech.com> NNTP-Posting-Host: 62.104.208.83 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1012729506 22783 127.0.0.1 (3 Feb 2002 09:45:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Feb 2002 09:45:06 GMT Xref: archiver1.google.com comp.lang.ada:19550 Date: 2002-02-03T09:45:06+00:00 List-Id: Paul Anderson wrote in message news:<3C5AB0B7.9D75D49A@grammatech.com>... >As part of a government research contract, we are developing a >Refactoring editor for Ada. I am interested in soliciting opinions >from the group about Refactoring and Ada. the idea is great! Especially the idea of doing the sematical preserving transformations with support of a tool. In my eyes, this all seems quite complex for Ada, but all Ada programers would like to see such a tool. >I am interested in finding out if there are any Ada projects out there >that actively use refactoring. If so, what refactorings do you use? >Are they just like the Java ones, or are there features of Ada that >mandate special-purpose refactorings? What features would you like to >see in a refactoring editor for Ada? All the stuff like schema refactorings (consitant renaming and moving of packages, types, procedures, inherit, push_down/push up primitive operations, ...), function-to-procedure translation, pattern integration ... but to my best knowledge, i don't know any documented refactorings for Ada in the quality of Martin Fowlers Refactoring-Book! Several month ago i asked in a german ada mailing list for support to initiate an Ada Refactoring Tool. No interest. One person from R*ti*al mentioned, that their ApexTool can do most the refactoring stuff. I think, i was completely misunderstood about this topic. To do more sophisticated refactorings in Ada you need a very good a metamodel along with a set of transformation rules. A long long way ... ASIS may be a good starting point, but makes in not possible manipulate the Abstract Syntax Tree directly ... Volkert Barr -- barr@cs.tu-berlin.de www.cs.tu-berlin.de/~barr