Some extra stream manipulation in Common Lisp.
Common Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.org
cl-plumbing-test.asd
cl-plumbing.asd
cl-plumbing.lisp
fifo-pipe.lisp
gray-streams-pipe.lisp
package.lisp
test.lisp

README.org

CL-Plumbing

This library adds a few stream manipulation facilities that I haven’t been able to figure out using CL’s stream facilities. These include:

make-pipe: Make a two way stream (though not of type two-way-stream) that accepts data (via writing to it) and that data can then be read from it. This is similar to the piping mechanism in the shell.

connect-streams: Take an input stream and an output stream and feed all data from the input stream to the output stream. Again, similar to the way shell pipes act, but this is for two existing streams and the other creates two new streams (well, one new two way stream).

Future work

Just now it occurred to me that it would be cool to have this provide a CL (gray) stream interface for ZeroMQ. Most of the work is already done, I believe…