unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* trying to make fmt work under guile
@ 2010-12-30 22:26 Stefan Israelsson Tampe
  2011-01-03 18:03 ` Andreas Rottmann
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Israelsson Tampe @ 2010-12-30 22:26 UTC (permalink / raw)
  To: guile-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-03 22:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-30 22:26 trying to make fmt work under guile Stefan Israelsson Tampe
2011-01-03 18:03 ` Andreas Rottmann
2011-01-03 22:41   ` Stefan Israelsson Tampe

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).