5 ms·
CLASH: CLisp As SHell http://clisp.org/clash.html http://clisp.org/clash.html
by sam-s 8y ago
CLASH: CLisp As SHell
http://clisp.org/clash.html http://clisp.org/clash.html
- convolvatron 8y agosuprised no one has posted the venerable https://en.wikipedia.org/wiki/Scsh https://en.wikipedia.org/wiki/Scsh
- masukomi 8y agoScsh home page here: https://scsh.net/ https://scsh.net/
- pmoriarty 8y agoThe most memorable thing about Scsh for me is its acknowledgments rant, which starts: "Who should I thank? My so-called "colleagues," who laugh at me behind my back, all the while becoming famous on my work? My worthless graduate students, whose computer skills appear to be limited to downloading bitmaps off of netnews? My parents, who are still waiting for me to quit "fooling around with computers," go to med school, and become a radiologist? My department chairman, a manager who gives one new insight into and sympathy for disgruntled postal workers?" and concludes: "Oh yes, the acknowledgements. I think not. I did it. I did it all, by myself." http://philip.greenspun.com/wtr/dead-trees/acknowledgments.html http://philip.greenspun.com/wtr/dead-trees/acknowledgments.h...
- kbp 8y agoI've never used it as a shell per se, but another little tweak I do sometimes for shell script type things in Lisp is install a read macro like (set-macro-character #\$ #'(lambda (stream char) (declare (ignore char)) `(uiop:getenv ,(symbol-name (read stream))))) This lets you read environment variables like $home, and write to them like ordinary variables, eg (setf $message "hello"). It reads the variable name as a Lisp symbol, so by default it will be upcased; this happens to be convenient for environment variables, but as with any symbols in Lisp, you can escape lowercase characters using either \ before the character or |'s around the whole symbol, or you could change the readtable case, or just preserve case initially in the read macro.
- xss002 8y ago1