3 ms·
> writing your shell scripts in Lisp instead of Bash. in a Lisp ;) Related, for Common Lisp: - unix in lisp https://github.com/PuellaeMagicae/unix-in-lispMou
by vindarel 1y ago
> writing your shell scripts in Lisp instead of Bash.
in a Lisp ;)
Related, for Common Lisp:
- unix in lisp https://github.com/PuellaeMagicae/unix-in-lispMount https://github.com/PuellaeMagicae/unix-in-lispMount Unix system into Common Lisp image.
- kiln https://github.com/ruricolist/kiln https://github.com/ruricolist/kiln - an infrastructure (managing a hidden multicall binary) to make Lisp scripting efficient and ergonomic.
- CIEL https://github.com/ciel-lang/CIEL/ https://github.com/ciel-lang/CIEL/ - CIEL Is an Extended Lisp is a collection of dozens of libraries useful for mundane tasks (HTTP, JSON, regexps…). It also comes as a binary that is able to run scripts from sources. Scripts that use the built-in libraries start fast without a compilation step. [project of mine]
- discussed here: https://news.ycombinator.com/item?id=41401415 https://news.ycombinator.com/item?id=41401415
- Lish https://github.com/nibbula/lish https://github.com/nibbula/lish - maybe someday a Lisp shell
- SHCL https://github.com/bradleyjensen/shcl https://github.com/bradleyjensen/shcl - a POSIX shell in CL (stalling)
- lserver https://notabug.org/quasus/lserver/ 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.
- bitwize 1y agoAnd don't forget scsh: https://scsh.net/ https://scsh.net/
- drob518 1y agoThe OG.
- chubot 1y agoMany of these projects are on: Alternative Shells - https://github.com/oils-for-unix/oils/wiki/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-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
- vindarel 1y agonice thanks, I'll check them out. They are also on https://github.com/CodyReichert/awesome-cl/ https://github.com/CodyReichert/awesome-cl/