unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: guile-devel@gnu.org
Subject: trying to make fmt work under guile
Date: Thu, 30 Dec 2010 23:26:54 +0100	[thread overview]
Message-ID: <201012302326.54381.stefan.itampe@gmail.com> (raw)

Hi,

I'm trying to package the fmt library. And have it compiling it's working on a
simple test case. (I'll need it to produce nicely formatted c-code)
I still need to export some symbols. But it seams to work at least in initiall
test eh, actually just one simple test case :-).

To note.

1. I need srfi-66 for unicode stuff, but can't find it in guile. any clues?
2. I tryied (ice-9 optargs) but that failes and I had to use the supplied 
   fmt-0.6/let-optionals.scm

This to make LET-OPTIONALS* work properly. It seams that the ice-9 
version don't allow define's in it's declaration part of the body.
It doesn't help to put the code inside a body form.

The error message is,


;;; WARNING: compilation of 
/home/stis/src/guile/module/language/clambda/fmt.scm failed:
;;; key syntax-error, throw args (macroexpand "~a in subform `~s' of `~s'"
;;; ("definition in expression context" write-positive (lambda (n) (let* ((m+e
;;; (mantissa+exponent (exact->inexact n)))

Is this a bug?

Happy new year
Stefan



             reply	other threads:[~2010-12-30 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-30 22:26 Stefan Israelsson Tampe [this message]
2011-01-03 18:03 ` trying to make fmt work under guile Andreas Rottmann
2011-01-03 22:41   ` Stefan Israelsson Tampe

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=201012302326.54381.stefan.itampe@gmail.com \
    --to=stefan.itampe@gmail.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).