Babashka is a native, stand-alone Clojure interpreter built for scripting - https://github.com/babashka/babashka
This is the time it takes to run a simple script from JMV/Clojure:
./toycalc.clj 4.49s user 0.15s system 295% cpu 1.569 total
This is the same script in Babashka:
./toycalc.bb 0.43s user 0.04s system 74% cpu 0.484 total
'nuff said, right?
bb.edn
file with the libraries you need. Look at the example_bb.edn
file here for a minimal working solution.(require '[cli-matic.core :refer [run-cmd]])
(run-cmd *command-line-args* CONFIGURATION)
Good luck!
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close