unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: packaging a guile module, call/cc tutorial
Date: Tue, 03 Jun 2008 17:18:45 +0200	[thread overview]
Message-ID: <87od6i7dii.fsf@gnu.org> (raw)
In-Reply-To: 68dbb6fe0805301228m610dab58o2547427b967abf01@mail.gmail.com

Hi,

"John Trammell" <johntrammell@gmail.com> writes:

> I have a guile issue and a scheme issue I'm hoping you can help me
> with.  My guile issue is that I've built a rudimentary module
> (following the code in
> http://www.gnu.org/software/guile/manual/html_node/Creating-Guile-Modules.html)
> that I'd like to tar up and make available as a GPL'ed installable
> package.  Can any of you point me to documentation or an example of
> how to do that?  I have something cobbled together with a Makefile but
> I'd like to think there's a more sophisticated solution out there.

Dale Smith on IRC noted that Martin Grabmüller once wrote a skeleton for
Guile extensions written in C:

  http://uebb.cs.tu-berlin.de/~magr/guile/guile-extension-0.0.1.tar.gz

It has a `convert.sh' script that automatically sets up the basic
package environment for you.  For instance, running "./convert.sh foo"
creates a `guile-foo' package, with C stubs in `foo.c' and `foo.h'.

There are also Guile bindings for many libraries that you could use as a
starting point, although it won't be as straightforward as running a
script.

Thanks,
Ludovic.





      parent reply	other threads:[~2008-06-03 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 19:28 packaging a guile module, call/cc tutorial John Trammell
2008-05-31  7:14 ` Thien-Thi Nguyen
2008-05-31 15:16 ` Neil Jerram
2008-06-03 15:18 ` Ludovic Courtès [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

  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=87od6i7dii.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@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).