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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,703b1789254e284a,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-02 06:35:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.70!typhoon.ne.mediaone.net.POSTED!not-for-mail From: "John Cupak" Newsgroups: comp.lang.ada Subject: Rep Spec Report with ASIS X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Sat, 02 Feb 2002 14:33:19 GMT NNTP-Posting-Host: 66.31.64.136 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 1012660399 66.31.64.136 (Sat, 02 Feb 2002 09:33:19 EST) NNTP-Posting-Date: Sat, 02 Feb 2002 09:33:19 EST Organization: ATT Broadband Xref: archiver1.google.com comp.lang.ada:19528 Date: 2002-02-02T14:33:19+00:00 List-Id: I was approached by a co-worker who is porting an Ada application from one platform/compiler to another (doesn't matter which), and she asked me if the compiler could generate a "Representation Specification Report" listing all the components of a record, their relative byte positions, and bit start/end values. After a bit of digging around, we found that the compiler being ported TO provides the ability to CREATE a rep spec for a selected record - that is, it writes the "for use", and "at" clauses IN THE CODE. Unfortunately, this is NOT what she wants. She wants a separate report. I know that GNAT can generate a report using the -gnatR switch, but she is not using GNAT. So, I thought that there might be an ASIS program someone out there in "Ada Land" has written that might provide the information requested. I would think it wouldn't be terribly hard to walk throught the declarations, find record type definitions, and generate a Representation Specification Report for each one - would it? Please contact me at John_J_Cupak@raytheon.com if you have seen or written such a report, or can provide something I could start with to create it. Of course, I'll gladly provide the source to this newsgroup and Ada groups for their use if I have to create it. Thanks - John