From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: What replaces scm_register_module_xxx (Doc update?) Date: 08 Aug 2002 22:28:08 +0100 Sender: guile-devel-admin@gnu.org Message-ID: References: <20020808134824.GB23831@www> <20020808102103.021cdc0c.dsmith@altustech.com> <874re5mnfs.fsf@raven.i.defaultvalue.org> <20020808161958.GA24162@www> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028842399 20215 127.0.0.1 (8 Aug 2002 21:33:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2002 21:33:19 +0000 (UTC) Cc: Rob Browning , "Dale P. Smith" , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17cuuD-0005Fw-00 for ; Thu, 08 Aug 2002 23:33:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cuuy-0002fe-00; Thu, 08 Aug 2002 17:34:04 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cutz-0002U2-00 for ; Thu, 08 Aug 2002 17:33:03 -0400 Original-Received: from portalet.ossau.uklinux.net (ppp-1-136.lond-b-1.access.uk.tiscali.com [80.40.1.136]) (authenticated) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g78LWhs15457; Thu, 8 Aug 2002 22:32:44 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id 8C5C21710; Thu, 8 Aug 2002 22:33:27 +0000 (GMT) Original-To: rm@fabula.de Original-Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1031 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1031 >>>>> "rm" == rm writes: rm> I think there's a misunderstanding/misconception here (or, rm> better: in guile's current C api). The rm> 'load-c-functions-through-scheme' aproach might be fine and rm> all that's needed as long as we only want to extend _guile_ rm> (the application) with external libs. But guile is inteded to rm> be an embedded srcipting language as well (at least that's rm> what the documentation says). If i want my users to be able to rm> script some of my applications functionality there's no rm> library i can load with 'load-extension' -- of course i could rm> put the tiny scm_* wrapper functions into a dll and have rm> _that_ loaded, but i wouldn't call this good design practise rm> (oh, i could 'load-extension' my own application instead, but rm> that's not really portable ...). Having to provide (and rm> deploy!) scm file(s) just to be able to put my functions into rm> different modules feels clumsy. Right now I'm afraid I don't follow the structure of your extension(s), but it certainly sounds to me like you ought to be able to achieve what you are trying to. Could you describe the structure in more detail, in terms of code modules (C and Scheme), libraries, how things get loaded and configured, etc.? Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel