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


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to