public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Rob Browning <rlb@cs.utexas.edu>
To: Ariel Rios <ariel@linuxppc.org>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: Time to talk about g-wrap
Date: Sat, 14 Apr 2001 20:23:00 -0000	[thread overview]
Message-ID: <87hezq26dt.fsf@raven.localnet> (raw)
In-Reply-To: <987293844.14903.3.camel@soleil>

Ariel Rios <ariel@linuxppc.org> writes:

> But if you could send something like a stupid documentation would be
> very helpful. SOmething like:

You can get the latest version from ftp.gnucash.org/pub/, though it
still lacks documentation.  I'll try to write something up soon (maybe
tomorrow if I'm feeling better), but in the mean time, you might want
to look at gnucash's gnc.gwp file.

Note, though that I gnc.gwp is not the naming convention I'd intended
people to use in the future.  I'd planned for something more like
gnucash-spec.scm since "spec" files are not just scheme code.  That
way you can load the spec with

  (use-modules (foo bar-spec))

(or just '(load "foo/bar-spec.scm") if you're not generating modules).

and then you can load the resulting module with

  (use-modules (foo bar))

or similar.

Note that I'm not stuck on the way things currently are.  That's just
the best I could come up with mostly on my own, and in consultation
with a couple of other gnucash developers.  I'm sure there are things
that can and should be changed for the better.  Also, I suspect that
there are things that g-wrap doesn't handle that you might need it to.

In any case, I'll write a summary of the current state that hopefully
hits all the high points.  If I'm lucky I'll be able to dig up one of
the long emails I've already written on the subject and enhance it
rather than starting from scratch :>

> My biggest concern is to keep usng defs files.  I have thought to
> write macros to map defs files so a macro of the type (define-func
> gtk_foo_new) can translate unto the corrsponding g-wrap...

Well, if the defs files are scheme forms (that's what I recall
anyway), then it should be easy to just write either a set of macro
statements, or perhaps just a simple recursive read/writer function
that can perform the translation.

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930

      parent reply	other threads:[~2001-04-14 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <987217943.9980.0.camel@soleil>
2001-04-14 16:23 ` Rob Browning
     [not found]   ` <987293844.14903.3.camel@soleil>
2001-04-14 20:23     ` Rob Browning [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hezq26dt.fsf@raven.localnet \
    --to=rlb@cs.utexas.edu \
    --cc=ariel@linuxppc.org \
    --cc=guile-gtk@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).