cmd
babashka
cmd | babashka | |
---|---|---|
10 | 112 | |
63 | 3,824 | |
- | 1.1% | |
2.3 | 9.2 | |
12 months ago | 9 days ago | |
Common Lisp | Clojure | |
MIT License | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cmd
- Getting started with lisp
-
writing scripts in lisp
In CL, there is also https://github.com/ruricolist/cmd on top of uiop:run-program / launch-program to quickly run commands.
-
Running docker commands from Common Lisp REPLs
+1. To write quick shell commands, see also cmd: https://github.com/ruricolist/cmd
-
Portable Lisp Dialects with Solid UNIX and Systems Programming Support?
A nice library that makes running shell programs even easier than uiop:run-program: https://github.com/ruricolist/cmd
-
How to run external commands?
uiop:run/launch-program (sync/async): https://lispcookbook.github.io/cl-cookbook/os.html#running-external-programs and the handy cmd which builds on it: https://github.com/ruricolist/cmd
-
[Common Lisp] Best Libraries for Interfacing with UNIX-like Operating Systems?
Some ideas/reminders/pointers: do not miss uiop:run-process and launch-process to run (a)sync programs; see cmd for an easier to use equivalent; see file-object-finder for a high-level lib around files (it handles file permissions). clawk replaces AWK.
-
Guides on Learning to Use Lisp Instead of Shell Script?
To operate on files and directories, see UIOP and this new library: https://github.com/Ambrevar/fof (File Object Finder). You could start using the Lem editor and Lisp REPL, the Nyxt browser, this basic file manager (https://github.com/szos/CLFM), cmd to fire external commands (https://github.com/ruricolist/cmd).
-
A Lisp REPL as my main shell
There is https://github.com/ruricolist/cmd in particular which is very helpful.
I'm going to publish a few more libraries which should help with file manipulation (as I demoed it).
Stay tuned!
-
ruricolist/cmd - utility for running external programs.
As for cmd, I just cloned it into local-projects, so it's the development version. This seems to be the line where exo is called and I don't think it's defined anywhere: https://github.com/ruricolist/cmd/blob/master/cmd.lisp#L374
babashka
-
A Tour of Lisps
It also gives you access to Babashka if you want Clojure for other use-cases where start-up time is an issue
https://babashka.org/
- Babashka: Fast native Clojure scripting runtime
-
What's the value proposition of meta circular interpreters?
I've tried researching this myself and can't find too much. There's this project metaes which is an mci for JS, and there's the SCI module of the Clojure babashka project, but that's about it. I also saw Triska's video on mci but it was pretty theoretical.
-
Adding Dependencies on Clojure Project the Node Way: A Small Intro to neil CLI
Created by the same guy who created babashka which is a way to write bash scripts, node scripts, and even apple scripts using Clojure. A very proficient and influential developer in the Clojure community. This is how borkduke's neil helps us:
- Babashka
-
Pure Bash Bible
Not what you asked for but there is Babashka for scripting in Clojure.
https://github.com/babashka/babashka
-
Critique of Lazy Sequences in Clojure
Clojure's lazy sequences by default are wonderful ergonomically, but it provides many ways to use strict evaluation if you want to. They aren't really a hassle either. I've been doing Clojure for the last few years and have a few grievances, but overall it's the most coherent, well thought out language I've used and I can't recommend it enough.
There is the issue of startup time with the JVM, but you can also do AOT compilation now so that really isn't a problem. Here are some other cool projects to look at if you're interested:
Malli: https://github.com/metosin/malli
Babashka: https://github.com/babashka/babashka
Clerk: https://github.com/nextjournal/clerk
-
Sharpscript: Lisp for Scripting
Being a Clojure addict, I guess I have to leave the obligatory link to Babashka too then: https://github.com/babashka/babashka (Native, fast starting Clojure interpreter for scripting)
-
Rash – The Reckless Racket Shell
which is now on hiatus. babashka: https://babashka.org
-
Are there any languages (that are in common use in companies) and higher-level that give you the same feeling of simplicity and standardization as C?
I've enjoyed babashka for scripting; which is close enough to clojure to allow using some/many libraries; but (probably) not for embedding.
What are some alternatives?
CLFM - Common Lisp File Manager
janet - A dynamic language and bytecode vm
scsh - A Unix shell embedded in scheme
malli - High-performance data-driven data specification library for Clojure/Script.
linedit - Readline-style line-editor for Common Lisp.
joker - Small Clojure interpreter, linter and formatter.
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
nbb - Scripting in Clojure on Node.js using SCI
lish - Lisp Shell
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation
pipeline
racket - The Racket repository