[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: Bug in format: can't iterate over 100 values?
From: |
Alex Shinn |
Subject: |
Re: [Chicken-users] Re: Bug in format: can't iterate over 100 values? |
Date: |
Mon, 01 Aug 2005 20:29:31 -0500 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At Mon, 1 Aug 2005 14:10:48 -0500, Alejandro Forero Cuervo wrote:
>
> As far as I can see, I'm missing support for the following sequences:
> ~R, ~F, ~E, ~G, ~$, ~&, ~|, ~I, ~Y and ~Q.
You may want to look at http://synthcode.com/scheme/cl-format.scm
(Gauche Scheme, should be easily portable). It provides an extensible
format framework with inheritance, with example implementations for
SRFI-28, SRFI-48, SRFI-19 date formatting, C's printf, and CL's
format, minus programmatic features (I hadn't decided how to add them
to the dispatch framework).
The ~F, ~E and ~G numeric formatters use clumsy string operations. If
you look at the Hato project (http://synthcode.com/scheme/hato/) there
is a much more clean and efficient 'write-number' module which
provides a superset of CL's floating point formatting capability.
--
Alex