langauge bindings [WAS: Re: GnuCash CLI v0.0.1]

Josh Sled jsled at asynchronous.org
Wed Jul 13 13:55:13 EDT 2005


On Wed, 2005-07-13 at 08:27 +0300, Daniel Tudosie wrote:
> On Tue, 2005-07-12 at 22:47 +0100, Neil Williams wrote:
> > However, don't get the impression that there are Perl bindings or Java methods 
> > available - the most we'll have even with G2 is generic XML:
> > http://code.neil.williamsleesmill.me.uk/qsf.html
> > 
> Are Java bindings wanted ? I am willing to implement them but as I

You're welcome to contribute whatever you like, especially if you're
willing to support it. :)  Frankly, though, I'd like to see a specific
use for the bindings before/alongside them; random bindings that aren't
being used isn't a win.


> remember from the devel-list discussions another language implementing
> some gnucash logic is not such an agreed idea :) ... so, this is why I
> ask this.

Right now we use g-wrap to bridge C and scheme; it seems like it would
be better to do two things:

1/ reduce the prevelance of scheme in the gnucash core

2/ use swig rather than g-wrap to provide external bindings in many
languages, if needed

It would be further better to move a lot of the logic, which is tightly
coupled to the UI, down into a layer just above the current "engine",
and expose it via an API.

I don't think anyone wins by re-implmenting gnucash logic outside of
gnucash.

...jsled

-- 
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`


More information about the gnucash-devel mailing list