From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_* API extension? [was] scm_* API question Date: 05 Aug 2002 17:12:52 +0200 Sender: guile-devel-admin@gnu.org Message-ID: References: <20020730121436.GA4465@www> <20020730200929.A18106@kiwi.pyrotechnics.com> <20020731100300.GC5661@www> <20020731150602.A32555@kiwi.pyrotechnics.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028560415 17284 127.0.0.1 (5 Aug 2002 15:13:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 15:13:35 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17bjY0-0004U1-00 for ; Mon, 05 Aug 2002 17:13:28 +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 17bjYb-0003UL-00; Mon, 05 Aug 2002 11:14:05 -0400 Original-Received: from krusty.dt.e-technik.uni-dortmund.de ([129.217.163.1] helo=mail.dt.e-technik.uni-dortmund.de) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bjYP-0003TN-00 for ; Mon, 05 Aug 2002 11:13:54 -0400 Original-Received: from burns.dt.e-technik.uni-dortmund.de (burns.dt.e-technik.uni-dortmund.de [129.217.163.19]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id C5481A3831; Mon, 5 Aug 2002 17:13:52 +0200 (CEST) Original-Received: by burns.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 10A32F431; Mon, 5 Aug 2002 17:12:52 +0200 (CEST) Original-To: Christopher Cramer In-Reply-To: <20020731150602.A32555@kiwi.pyrotechnics.com> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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:980 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:980 Christopher Cramer writes: > For sake of argument, let's say there are two different ways to use Guile. > One way is to extend Guile through C, by using load-extension. This works > fine if the C code is ignorant of the module system (writing a wrapper > module in Scheme handles everything). The other way is to extend C through > Guile, which cannot stay module system ignorant, because you typically > want to load multiple Scheme scripts without worrying about clashing > symbols from the different scripts -- this is currently impossible > without getting deep into the details of the module system. But the code that loads the scripts could be written in Scheme, no? > I can provide examples of what I had to do with Recluse; roughly 300 lines > of C code are devoted to dealing with the module system. Can you say from that experience how we should extend the module system API for C? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel