3 ms·
Wow, that's crazy O_o Related: - Lish allows to mix&match shell and Lisp code, with regular syntax. https://github.com/nibbula/lish/ https://github.com/nibbul
by vindarel 3y ago
Wow, that's crazy O_o
Related:
- Lish allows to mix&match shell and Lisp code, with regular syntax. https://github.com/nibbula/lish/ https://github.com/nibbula/lish/
$ echo ,*package*
#<PACKAGE "LISH-USER">
$ (defun hello (name) (format t "hello ~a!!~&" name))
$ (hello "me")
hello me!!
NIL
$ (hello "me") | wc -w
=> 2
It is usable. Interactive commands like sudo and htop work, some like less and fzf don't. So it ships a pager, `view`. It has a directory mode, a Lisp REPL with a debugger, completion…. It is not done, the author keeps hacking on it. Hackers invited to have a look.
- SHCL is a posix-like shell written in CL. https://github.com/bradleyjensen/shcl https://github.com/bradleyjensen/shcl
(it doesn't have completion. Not active.)
https://github.com/CodyReichert/awesome-cl#shells-shells-interfaces https://github.com/CodyReichert/awesome-cl#shells-shells-int...
- kscarlet 3y agoThanks for the pointer to lish! I didn't know it had all that, I know it exists but was intimated by its non-standard packaging... I decided to not go too far on the structured/object shell route for Unix in Lisp, instead trying to get existing Unix utilities to work as seamlessly as possible first. But maybe in the future I could integrate some work from lish. That's lots of impressive work under yew/los and yew/tools!