Bob Felts <wrf3@stablecross.com> wrote:
+---------------
| I also wish that SLIME had a concept of redirection, so that instead of
| something like:
| (foo '(1 2 3 4 5 ...))
| I could type:
| (foo <in-file.txt) >out-file.txt
| Maybe I can and I just haven't found it yet.
+---------------
It's not Common Lisp, and it's not SLIME, but there is such a thing.
It's called "Scsh", a.k.a. "The Scheme Shell":
http://sourceforge.net/projects/scsh/
http://www.scsh.net/
...
Scsh has two main components: a process notation for running programs
and setting up pipelines and redirections, and a complete syscall
library for low-level access to the operating system, i.e. to POSIX,
the least common denominator of more or less all Unices, plus widely
supported extensions such as symbolic links and BSD sockets. Moreover,
scsh provides an awk facility for pattern-directed computation over
streams of records, a rich facility for matching regular-expression
patterns in strings, event-based interrupt handling, user-level
threads, a futuristic module system, and an interactive environment.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607