At the risk of a heated discussion (aka flames), did you consider
CORBA as an alternative? I am not sufficiently versed in CORBA to
really provide useful commentary; I spent a weekend grokking it once,
and writing hello-world level programs. But to my limited
understanding, it seems that CORBA is designed for almost this exact
type of thing--specifying abstracted interfaces and providing stubs
and skeletons.
Downsides:
1. It would introduce dependency on the ORB package
(partially offset by removed dependency on SWIG)
2. It would probably introduce additional complexity
Upsides:
1. It's an industry-wide standard
2. It sets things up for distributed processing
3. Provides a framework for interoperability with other apps
(such as GNOME)
Just a thought. Since Rob has quite generously volunteered to work
this problem, seems like he's got the deciding vote. I can also see
great benefit in going with the simplest solution, which may well be
g-wrap.
>>>>> "Rob" == Rob Browning <[EMAIL PROTECTED]> writes:
Rob> OK, we have a number of problems with our script language
Rob> interface, and I'd like some feedback. The overall problem
Rob> is that our current use of SWIG is broken, and I want to fix
Rob> it one way or another.
[snip]
Rob> Summary conclusions:
Rob> 1) We can't run the script wrapper generator over our
Rob> headers directly anymore.
Rob> 2) Hence we're going to have to have a separate
Rob> specification for the exported functions.
Rob> 3) This separate specification should never get out of sync
Rob> with the C prototypes.
Rob> 4) If we do have a separate specification, it will be much
Rob> easier to use whichever wrapper generator we want.
Rob> Recommendation:
Rob> After spending too much time over the past day or so trying
Rob> things out, here's what I propose:
[excellent proposal snipped]
Rob> If I don't hear any screams of discontent, I'll probably just
Rob> do all this soon.
Rob> Thoughts?
--
I am a perfect stereotype of myself.
Just like I always wanted to be.
Daniel Risacher [EMAIL PROTECTED]
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body