Comment by vindarel
1 day ago
> writing your shell scripts in Lisp instead of Bash.
in a Lisp ;)
Related, for Common Lisp:
- unix in lisp https://notabug.org/quasus/lserver/ - live-coding remote function calls for the shell. Write a command in the REPL, and run it instantly in the shell.
I use CIEL ;)
And, built-in: use the --load flag or build a self-contained binary, compiled to machine code with SBCL. It can contain your web assets (html, js etc). A compressed binary weights ±30MB and starts fast. A stripped off binary with LispWork$ (no compiler, no debugger etc) is ±5MB. There's ECL too.
Many of these projects are on:
Alternative Shells - https://github.com/oils-for-unix/oils/wiki/Alternative-Shell...
Internal DSLs for Shell - https://github.com/oils-for-unix/oils/wiki/Internal-DSLs-for... - nearly every language: Python, many schemes and Lisps, Haskell, OCaml, JavaScript, etc.
Feel free to add them if they're not there
nice thanks, I'll check them out.
They are also on https://github.com/CodyReichert/awesome-cl/
And don't forget scsh: https://scsh.net/
The OG.