Re: searching: example of C extension implementing port

2006-03-10 Thread Marco Maggi
"[EMAIL PROTECTED]" wrote: >You'll have seen the "Soft Ports" node in the manual, >it's pretty straightforward. Yes, it is straightforward with pure Scheme; but I have to filter a stream of bytes (binary data not strings) thru a C implemented algorithm. ___

Re: searching: example of C extension implementing port

2006-03-08 Thread Marco Maggi
>"Marco Maggi" <[EMAIL PROTECTED]> writes: >> If, dunno when, I come up with a simple example channel >> implementation: is there an "official" place where I can >> put it? >I don't think so. Well, depends on what you mean by >"official" I guess. ;-) And BTW, what do you mean >by "channel"? I c

Re: searching: example of C extension implementing port

2006-03-07 Thread Kevin Ryde
"Marco Maggi" <[EMAIL PROTECTED]> writes: > > is there a sample extension implementing an input/output > channel? You'll have seen the "Soft Ports" node in the manual, it's pretty straightforward. > I'm thinking of a memory channel (not an interface > to a file or hardware port), something like t

Re: searching: example of C extension implementing port

2006-03-07 Thread Ludovic Courtès
Hi, "Marco Maggi" <[EMAIL PROTECTED]> writes: > I'm thinking of a memory channel (not an interface > to a file or hardware port), something like the string > port; is the channel API of Guile worth learning for this, > or is it better to write something of my own? Perhaps you can look at the fil

searching: example of C extension implementing port

2006-03-07 Thread Marco Maggi
Ciao, is there a sample extension implementing an input/output channel? I'm thinking of a memory channel (not an interface to a file or hardware port), something like the string port; is the channel API of Guile worth learning for this, or is it better to write something of my own? I only need