Importing self-made formats

Linas Vepstas linas@linas.org
Fri, 2 Nov 2001 14:13:46 -0600


On Fri, Nov 02, 2001 at 08:50:49PM +0100, lmb was heard to remark:
> However - I would love it if gnucash had a scriptable API for this, 

It does. Scheme does this now; I am trying to resurrect the perl
interfaces in the 1.6.x branch.  (I just added src/optional/swig
to CVS an hour ago, and the non-list-using parts of the perl bindins
work fine.  Lists are still broken.)

scheme has an advantage over perl: yuou can run scheme code while
gnucash is running.  The perl code must be run 'off-line', (i.e.
when the gnucash GUI doesn't have the file open.)

> Where would I start looking?

for perl, in cvs src/optional/swig/examples

for scheme, I think something in src/docs reviews this.

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933