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-Thread: a07f3367d7,5a3e508f74e87110 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!c36g2000yqn.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Record representation : components order Date: Tue, 7 Jul 2009 12:37:00 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0528ea71-d39b-4c0f-ae70-b632c6b4fbeb@c36g2000yqn.googlegroups.com> References: <908a786e-214e-436f-868b-c0ead259fcc5@r33g2000yqn.googlegroups.com> <055e4e4e-94ec-40fb-b317-4f45a579148a@c9g2000yqm.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1246995420 651 127.0.0.1 (7 Jul 2009 19:37:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Jul 2009 19:37:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c36g2000yqn.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.18 (KHTML, like Gecko) Version/4.0.1 Safari/530.18,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:6888 Date: 2009-07-07T12:37:00-07:00 List-Id: On Jul 6, 8:33=A0am, Stephen Leake wrote: > sjw writes: > > For tcladashell, I have a Tcl script which generates a C program which > > generates an Ada spec > > Recent versions of GNAT have the option -fdump-ada-spec which > generates Ada specs from C and C++ headers. See chapter 25 in the GNAT > User Guide. Yes, but many people don't have this option yet. Also * tcl.h isn't really meant to be read by humans, so Ada code generated from it has similar characteristics, and I'd rather provide something I know to be at least semi-readable and compilable; * I'm not sure how settled -fdump-ada-spec is yet; * in theory tcladashell is compiler-independent.