On Sat, 2002-02-16 at 10:28, Michael T. Garrison Stuber wrote:
> Greetings!
> 
>       I am interesting in writing a (small) family of reports to track
> investments.  One of the critical needs for what I want to do is a line
> graph.  I've been studying the current reporting architecture and trying
> to understand it.  If I understand things correctly, GnuCash has
> implemented its own Scheme wrappers around Guppi, and Guppi provides the 
> graphing functionality.  Is this correct?

Sort of. We use Guppi to graph, but guppi is not called from scheme
directly. Scheme data describing the graphs is passed to C routines
in src/gnome/*guppi*. But a number of other C functions are wrapped
and used directly in Scheme. See the *-spec.scm wrapping descriptions
in the various directories.


> I need several pointers to come up to speed:
> 
> (1)   Can somebody explain (or point me to an explanation) of how Scheme 
> and C interact?  It's pretty clear in the code that certain Scheme file 
> connect to certain C files, but I'm still confused on the mechanics.

Study the -spec files to understand the connection between scheme
routines and C routines.


> (2)   Is there a decent explanation on Guppi out there?  The 
> documentation is pretty form of the include files at this point.  I tried 
> searching for FAQ but couldn't find one.  While I understand that I can 
> always read the source, I'm still trying to wrap my head around GnuCash, 
> so if there's a "this is what this call does, and here's how you use it" 
> document out there, I'd appreciate a link.

I don't think there's much documentation on using Guppi.

dave

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to