unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: rm@fabula.de
Cc: rm@fabula.de, "Dale P. Smith" <dsmith@altustech.com>,
	guile-devel@gnu.org
Subject: Re: What can I do to help? (conclusions)
Date: Sun, 6 Oct 2002 19:08:04 +0200	[thread overview]
Message-ID: <20021006170804.GA7206@www> (raw)
In-Reply-To: <87k7ky5ggq.fsf@alice.rotty.yi.org>

On Fri, Oct 04, 2002 at 06:14:29PM +0200, Andreas Rottmann wrote:
> rm@fabula.de writes:
>  [...]
> > Yes, a GOOPS-ish guile-libxml would be great, but there _is_ currently
> > no C goops interface. 
> >
> I always wonder why people say that... There is a goops.h, which
> declares basically all the functions you need. i

I never said it wouldn'T be possible to write bindings that use goops --
as far as i understand there are no official (read: stable ) APIs, and
the last thing i want to do is to manually craft bindings that stop working
after the next major (minor?) version change. A while ago i really wanted
to use SCWM, but unfortunately the program used some carefully handcrafted
code to catch exceptions (see some of the recent posts in this mailing list)
that worked fine in the version of Guile it was designed for but broke 
misserably on my newer version. I'd be willing to do such work if unavoidable
but i would not want to write bindings for a monster like libxml2 unless
i know it's going to be there for a while ;-)

> Well, you could build
> some higher-level/easier-to-use functions on top of them, and in some
> areas there are no 'clean' bindings so you have to do a bit of
> hackery, but I managed to implement a C++ interface to GOOPS - so it
> *is* possible. It took me some hours of poking around in goops.c,
> since the stuff is not really documented.
> 
>> [...]
> Hmm, you begin to provoke my interest. Maybe after my C++ interface is
> mature enough (should be in a few weeks), I might give it a shot,
> however, it would help me a lot to get going how you imagine the
> interface to look like.

Well, i have one sitting on my box, but am reluctant to publish it 
because a) it's handcrafted (-> lot's of duplicated code and still  a
lot is missing) b) i don't like the API ... i find with such an important
lib it's of utter importance to find a 'natural' way of integrating 
XML into Scheme/Guile (i'm pretty impressed by Oleg's work) -- also,
i'm using Daniel Veillard's Python bindings daily (i have to, i'm affraid)
and i'm very unhappy with the way they feel (too C-ish). 
I envision to follow Daniel's path in auto-creating the bindings from the
exisiting API description in XML format.

> Talking about C++, I suggest adding configure flag that causes the
> Guile interpreter to be linked by g++, so modules can be implemented
> in C++. (Python, on Debian, for example is linked this way).

Hmmm, what are the consequences in terms of code emitted -- doesn't that
result in (horrible) stuff like symbol name mangling ?

 Ralf Mattes


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2002-10-06 17:08 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-28 10:58 What can I do to help? Dr William Bland
2002-09-28 16:19 ` Han-Wen Nienhuys
2002-09-30  8:56   ` Dr William Bland
2002-09-30 10:57     ` Dale P. Smith
2002-09-30 11:47       ` Dr William Bland
2002-09-30 17:59       ` Han-Wen Nienhuys
2002-09-30 18:27         ` Dale P. Smith
2002-09-30 18:52         ` Neil Jerram
2002-09-30 19:22         ` Tom Lord
2002-09-30 18:30       ` Tom Lord
2002-09-30 22:49         ` Rob Browning
2002-10-01  2:56           ` Rob Browning
2002-10-13 16:50           ` Rob Browning
2002-10-19 11:34             ` Jeff Read
2002-09-30 18:38     ` Neil Jerram
2002-09-30 22:35       ` Derek Atkins
     [not found]         ` <warlord@MIT.EDU>
2002-09-30 23:33           ` gnucash
2002-09-30 23:49             ` Derek Atkins
2002-10-01  8:43               ` Han-Wen Nienhuys
2002-10-01 14:15                 ` Derek Atkins
2002-10-01 15:00                   ` Rob Browning
2002-10-02 16:40               ` Rob Browning
2002-10-02 23:15               ` Neil Jerram
2002-10-02 16:34             ` Rob Browning
2002-10-02 16:28         ` Rob Browning
2002-10-02  9:18       ` Martin Grabmueller
2002-09-30 16:13 ` Rob Browning
2002-09-30 18:39   ` Neil Jerram
2002-10-01 17:14 ` What can I do to help? (conclusions) Dr William Bland
2002-10-02 23:15   ` Neil Jerram
2002-10-03 17:14   ` Evan Prodromou
2002-10-04 10:01     ` Andreas Rottmann
2002-10-04 10:57     ` Clinton Ebadi
2002-10-04 12:26     ` Dale P. Smith
2002-10-04 13:29       ` rm
2002-10-04 16:14         ` Andreas Rottmann
2002-10-06 17:08           ` rm [this message]
2002-10-06 17:34             ` Andreas Rottmann
2002-10-06 23:23               ` Marius Vollmer
2002-10-07  4:03                 ` Rob Browning
2002-10-08 16:31                   ` Andreas Rottmann
2002-10-08 17:27                     ` Andreas Rottmann
2002-10-08 20:05                     ` Rob Browning
2002-10-08 20:55                       ` Andreas Rottmann
2002-10-10  5:26                         ` Rob Browning
2002-10-10  8:34                           ` Andreas Rottmann
2002-10-08 21:28                   ` Marius Vollmer
2002-10-07  9:00                 ` Andreas Rottmann
2002-10-07 13:16                   ` Marius Vollmer
2002-10-07 14:33                     ` Guile CVS Build Problems (was: Re: What can I do to help? (conclusions)) Andreas Rottmann
2002-10-08 23:05                       ` Marius Vollmer
2002-10-08 23:40                         ` Rob Browning
2002-10-08 23:13                       ` Marius Vollmer
2002-10-09  7:56                         ` Andreas Rottmann
2002-10-09 15:30                           ` Rob Browning
2002-10-09 17:25                             ` Andreas Rottmann
2002-10-09 17:37                               ` Andreas Rottmann
2002-10-09 20:18                                 ` Rob Browning
2002-10-09 20:43                                   ` Rob Browning
2002-10-09 21:17                                     ` Rob Browning
2002-10-09 21:39                                       ` Rob Browning
2002-10-07 22:32                     ` What can I do to help? (conclusions) Rob Browning
2002-10-07 21:08                 ` Daniel Skarda
     [not found]                   ` <878z19rl8r.fsf@alice.rotty.yi.org>
2002-10-10 12:07                     ` Daniel Skarda
2002-10-04 13:14     ` Evan Prodromou
2002-10-04 15:27       ` Rob Browning
2002-10-04 15:22     ` Rob Browning
2002-10-04 16:02     ` Dale P. Smith
2002-10-04 18:58     ` Neil Jerram
2002-10-04 19:26       ` Evan Prodromou
2002-10-04 19:48       ` Tom Lord
2002-10-06  8:46     ` Fast format (was Re: What can I do to help?) Daniel Skarda
2002-10-06 11:20       ` Han-Wen Nienhuys
2002-10-06 17:53         ` Daniel Skarda
2002-10-03 12:00 ` Debian packages (Re: " Daniel Skarda
2002-10-04 12:33   ` Evan Prodromou
2002-10-04 15:43   ` Rob Browning
2002-10-04 18:46     ` Daniel Skarda
2002-10-05  5:51       ` Rob Browning
2002-10-05  8:55   ` Neil Jerram
2002-10-06  8:31     ` Daniel Skarda
2002-10-06  8:51       ` Jorgen Schaefer
2002-10-06 11:21         ` Han-Wen Nienhuys
2002-10-03 18:10 ` What can I do to help? Marius Vollmer
2002-10-03 21:32   ` Neil Jerram
2002-10-03 22:24     ` Marius Vollmer
2002-10-04 18:48       ` guile-debugger (was Re: What can I do to help?) Neil Jerram
2002-10-04 21:26         ` Han-Wen Nienhuys
2002-10-05  9:03           ` Neil Jerram
2002-10-06  8:51             ` Daniel Skarda
2002-10-12 13:36             ` Marius Vollmer

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=20021006170804.GA7206@www \
    --to=rm@fabula.de \
    --cc=dsmith@altustech.com \
    --cc=guile-devel@gnu.org \
    /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).