guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add printf.scm to ice-9?


From: Neil Jerram
Subject: Re: add printf.scm to ice-9?
Date: 07 Apr 2002 15:38:14 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Matthew" == Matthew R Wette <address@hidden> writes:

    Matthew> I have been heavily using guile for an application at
    Matthew> here at work.  Guile seems to have everything I need
    Matthew> except one item: printf.  Maybe this is a candidate for a
    Matthew> future addition?  [I am currently using the printf.scm
    Matthew> from slib, but the sprintf implementation there is a
    Matthew> little tough to work with as far as I can tell.]

Have you looked at `format' in the (ice-9 format) module?  It is
documented in the reference manual in node `Formatted Output'.

    Matthew> Here is a short description of the application.  I am working on 
the
    Matthew> development of space-based interferometers.  The long range goal is
    Matthew> the search for earth-like planets orbiting distant stars.  These
    Matthew> interferometers use lots of laser metrology and actively controlled
    Matthew> mirrors.  [My job is to architect the closed-loop control system.] 
 We
    Matthew> have a program (MACOS) that generates a linear model for a single 
path
    Matthew> of a single light source.  I have written a program in guile (~3000
    Matthew> lines) that generates a linear optical model for multiple beams
    Matthew> traversing multiple paths through the optics.  I am able to parse
    Matthew> multiple specification files, run the MACOS program multiple times,
    Matthew> perform matrix-vector manipulations and automatically generate the
    Matthew> model in both MATLAB (for analysis) and C (for simulation).  My
    Matthew> prototype program to do all this was completed in less than a 
month.
    Matthew> People have been pretty impressed.

Fascinating; thanks for this!

    Matthew> My thanks to the developers.  Guile is really coming along.
    Matthew> [The debugger has been a life saver.]

Thanks again; lovely to get such encouraging feedback.

        Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]