This commit is contained in:
Michiel Borkent 2020-03-02 10:00:28 +01:00
parent c4a44aa7e6
commit 4c64214092

View file

@ -14,17 +14,6 @@ A Clojure [babushka](https://en.wikipedia.org/wiki/Headscarf) for the grey areas
<a href="https://github.com/laheadle">@laheadle</a> on Clojurians Slack <a href="https://github.com/laheadle">@laheadle</a> on Clojurians Slack
</blockquote> </blockquote>
## Quickstart
``` shellsession
$ bash <(curl -s https://raw.githubusercontent.com/borkdude/babashka/master/install)
$ ls | bb --time -i '(filter #(-> % io/file .isDirectory) *input*)'
("doc" "resources" "sci" "script" "src" "target" "test")
bb took 4ms.
```
## Rationale
The sweet spot for babashka is executing Clojure expressions or scripts in the The sweet spot for babashka is executing Clojure expressions or scripts in the
same space where you would use Bash. same space where you would use Bash.
@ -59,6 +48,15 @@ may be a better fit, since the performance of Clojure on the JVM outweighs its
startup time penalty. Read more about the differences with Clojure startup time penalty. Read more about the differences with Clojure
[here](#differences-with-clojure). [here](#differences-with-clojure).
## Quickstart
``` shellsession
$ bash <(curl -s https://raw.githubusercontent.com/borkdude/babashka/master/install)
$ ls | bb --time -i '(filter #(-> % io/file .isDirectory) *input*)'
("doc" "resources" "sci" "script" "src" "target" "test")
bb took 4ms.
```
## Status ## Status
Experimental. Breaking changes are expected to happen at this phase. Keep an eye Experimental. Breaking changes are expected to happen at this phase. Keep an eye