Scsh
Scsh (a Scheme shell) is command-line shell derived from Scheme 48, an implementation of the Scheme programming language.[src] It turns common POSIX shell features (string processing, file-name matching, input/output redirection, etc.) into a Scheme application programming interface in a manner to make the most of Scheme's ability for scripting.[src] It is free and open-source software released under the BSD-3-Clause license.[src] Scsh, in its original form (a Scheme 48 fork), is limited to 32-bit platforms.[src] There is a development version in the form of a Scheme 48 library that works in 64-bit mode.[src]
Scsh (a Scheme shell) is command-line shell derived from Scheme 48, an implementation of the Scheme programming language.[src] It turns common POSIX shell features (string processing, file-name matching, input/output redirection, etc.) into a Scheme application programming interface in a manner to make the most of Scheme's ability for scripting.[src] It is free and open-source software released under the BSD-3-Clause license.[src] Scsh, in its original form (a Scheme 48 fork), is limited to 32-bit platforms.[src] There is a development version in the form of a Scheme 48 library that works in 64-bit mode.[src] ==Features== Scsh includes these notable features: A shell language, modeled using quasi-quotation; Library support for list, character, and string manipulations; Regular expressions manipulation support using scheme regular expressions, a domain-specific language (DSL), or little languages, approach to the abilities; High-level support for awk-like scripts, integrated into the language as macros; Full access to the POSIX API plus BSD sockets, resulting in strong networking support; Abstractions supporting pseudo terminals.[src] ==Example== Translation of the shell pipeline gunzip : (& (| (gunzip) (detex) (spell) (lpr -Ppulp)) ; background a pipeline ( Print a list of all the executables available in the current PATH to the standard output: !/usr/local/bin/scsh -s !# (define (executables dir) (with-cwd dir (filter file-executable?[src] (directory-files dir #t)))) (define (writeln x) (display x) (newline)) (for-each writeln (append-map executables ((infix-splitter ":") (getenv "PATH")))) =="Acknowledgments"== The reference manual for Scsh includes a spoof Acknowledgments section written by Olin Shivers.[src] It starts: Who should I thank?[src] My so-called "colleagues", who laugh at me behind my back, all the while becoming famous on my work?[src] My worthless graduate students, whose computer skills appear to be limited to downloading bitmaps off of netnews?[src] My parents, who are still waiting for me to quit "fooling around with computers," go to med school, and become a radiologist?[src] My department chairman, a manager who gives one new insight into and sympathy for disgruntled postal workers?[src] and concludes with: Oh, yes, the acknowledgements.[src] I think not.[src] I did it.[src] I did it all, by myself.[src] ==See also== Unix shell Comparison of command shells ==References== ==External links== Sourceforge project page Downloads[src]
23 sentences · 23 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Scsh." encyclopegia.org, 2026, https://encyclopegia.org/wiki/scsh. Accessed 25 November 2026.
Chicago
"Scsh." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/scsh.
APA
encyclopegia.org. (2026). Scsh. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/scsh
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON