Re: Clean Guile code from C program

2008-03-07 Thread Luigi Semenzato
It's not clear that Mike's asking the right question here. If he wants to get rid of Guile from his program, first he needs to check if the program contains any Guile code which uses this code. It's possible that a substantial amount of the program's functionality has been written in Guile. In th

Re: bug in read?

2007-09-25 Thread Luigi Semenzato
week later now and no one's answered: > > > > On Mon 17 Sep 2007 23:49, "Luigi Semenzato" <[EMAIL PROTECTED]> writes: > > > > > Is this a reader bug? Hash marks following > > > an integer are interpreted as zeros, and the > > > num

bug in read?

2007-09-17 Thread Luigi Semenzato
Is this a reader bug? Hash marks following an integer are interpreted as zeros, and the number is converted to real. guile> (read) 44### 44000.0 guile> If this is expected, section 5.5.2.6 (Read Syntax for Numerical Data) should mention it. Should I report this problem to [EMAIL PROTECTED] Or i

Re: read-string!/partial on non-file ports

2007-09-10 Thread Luigi Semenzato
learning it as I go along. Thanks again! Luigi On 9/10/07, Ludovic Courtès <[EMAIL PROTECTED]> wrote: > Hi, > > "Luigi Semenzato" <[EMAIL PROTECTED]> writes: > > > I would like to move binary data between two guile > > applications across a pipe (opened w

Re: read-string!/partial on non-file ports

2007-09-10 Thread Luigi Semenzato
On 9/10/07, Stephen Compall <[EMAIL PROTECTED]> wrote: > On Mon, 2007-09-10 at 12:25 -0700, Luigi Semenzato wrote: > > I would like to move binary data between two guile > > applications across a pipe (opened with open-input-output-pipe). > > Read-char and write-char in

read-string!/partial on non-file ports

2007-09-10 Thread Luigi Semenzato
Greetings, I would like to move binary data between two guile applications across a pipe (opened with open-input-output-pipe). Read-char and write-char in a loop are going to be too slow. Read-string!/partial and write-string/partial are exactly what I need but they only work on file ports. (I ge