guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add Guile support to a package


From: Ludovic Courtès
Subject: Re: How to add Guile support to a package
Date: Mon, 05 Jan 2015 18:08:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi,

I think the question to ask is what you want to enable with Guile.
Probably you’ll want to export some of the functions and data types of
Chess to Scheme, which can be done using the libguile C interface.

Another question is whether you want to embed Guile into Chess, or
whether you want to extend Guile with Chess.  In the latter case, Chess
would essentially be a Scheme library.  This is best because it opens
for more possibilities, and makes it easier to work with the Scheme API
of Chess.  More info on this trade-off at
<https://twistedmatrix.com/users/glyph/rant/extendit.html>.

Since you want Guile to be an optional dependency, embedding may be more
appropriate, though.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]