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