shell
babashka
shell | babashka | |
---|---|---|
1 | 117 | |
56 | 3,886 | |
- | 1.7% | |
5.1 | 9.1 | |
8 months ago | 8 days ago | |
Ruby | Clojure | |
BSD 2-clause "Simplified" 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.
shell
babashka
- Common Lisp for Shell Scripting
-
Try Clojure
Check out Babashka. It's a single binary that runs Clojure without a JVM. It also starts up really fast and uses a lot less memory: https://github.com/babashka/babashka
That said, there are reasons you may want to use the JVM Clojure later. It might be interesting to read the replies to another poster with similar concerns about the JVM: https://news.ycombinator.com/item?id=40445415
-
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)
What are some alternatives?
Discourse - A platform for community discussion. Free, open, simple.
janet - A dynamic language and bytecode vm
Jekyll - :globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby
malli - High-performance data-driven data specification library for Clojure/Script.
nushell - A new type of shell
joker - Small Clojure interpreter, linter and formatter.
bash-language-server - A language server for Bash
nbb - Scripting in Clojure on Node.js using SCI
zx - A tool for writing better scripts
clojure-lsp - Clojure & ClojureScript Language Server (LSP) implementation
racket - The Racket repository
ShellCheck - ShellCheck, a static analysis tool for shell scripts