Shelisp is a very short program that provides mechanisms for composing and running Unix shell (particularly bash) commands and constructs from Common Lisp.
Essentially, it provides a '!' syntax that you can use to run commands and a '[]' embedded mode where you can enter bash scripts and obtain the standard output as a lisp string.
Lisp expressions can be included in any command or script using a '?' syntax.
The new version also includes a 'sh' macro that allows to call unix utilities directly with a syntax familiar to the lisp users.
We will keep the existing code untouched. New variants of any functions or macros, including dependencies, are given new names, by appending a number. Thus, existing code using shelisp should never be troubled by replacing shelisp with new releases.
The name 'shelisp' has resulted in some unintended and unanticipated odd feelings and some giggles for some probably unfounded reasons that I could not yet fully document. Pronouncing it correctly may reduce the phenomenon.
Shelisp was initially developed for CMU CommonLisp and also works in SBCL (thanks to Chris Parker) and CLISP (thanks to Kaz Kylheku).
The first release was in july 2006, under the GNU General Public Licence.
On december 5, 2011, I rereleased it under the Lisp Lesser General Public Licence that is the GNU Lesser (Library) GPL with a preamble.
There is a fork by Christian von Essen, here.
Releases are usually announced on freecode (formerly freshmeat).
[Version 3.0, LLGPL, dec 2011], also the
Cite the early version of the manual as:
Corlan, Alexandru Dan. SHELISP--A Unix shell interface for CommonLisp. 2006-08-29. URL:http://dan.corlan.net/shelisp/shelisp_manual.html. Accessed: 2011-12-05. (Archived by WebCite(R) at http://www.webcitation.org/63hc1iiVD)
Subscribe to shelisp |
Visit this group |