comp.lang.ada
 help / color / mirror / Atom feed
From: twestley@acm.org (Terry J. Westley)
Subject: Re: Estimates on building bindings
Date: 1997/03/06
Date: 1997-03-06T00:00:00+00:00	[thread overview]
Message-ID: <twestley-ya023080000603972144360001@news.buffnet.net> (raw)
In-Reply-To: bbalfour-0603971039470001@stmac0088.std.caci.com


Brad Balfour asks for data to help with estimating
costs of C-to-Ada conversions using c2ada:

My experience with building Ada bindings for Tcl/Tk
(http://www.ocsystems.com/xada/tash/) may not help
you much because:

a) I tried to use c2ada and abandoned it, and

b) since I was doing this on my own time, I didn't
   keep track of the time.

Why I abandoned c2ada:
======================
It did a fairly good job of converting the .h file
(my sample size was small: 1).  However, I also wanted
to produce a more Ada-friendly, shall we say, "thick"
binding.  Since a new version of Tcl/Tk comes out fairly
often, I need to track these changes and didn't want to
to hand-convert the changes into a thick binding each
time.  So, I wrote a custom C-to-Ada converter which
is specialized for the Tcl header file.  It reads the
tcl.h file and produced both thin and thick binding
packages (specs and bodies).

Didn't keep track of the time:
==============================
Since reading Humphrey's book, _Introduction_to_the_PSP_,
I now know that was a mistake.

Yes, he sold at least one book from doing his talk at
TRI-Ada, but after reading it, I realized that I should
have bought his more comprehensive, earlier book,
titled (approximately) _A_Discipline_for_Software_Engineering_.

Not much help, I know, but there it is anyway.

-- 
Terry J. Westley
twestley@acm.org
http://www.buffnet.net/~westley/
http://www.ocsystems.com/xada/tash/




      reply	other threads:[~1997-03-06  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-06  0:00 Estimates on building bindings Brad Balfour
1997-03-06  0:00 ` Terry J. Westley [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox