doc [skip ci]
This commit is contained in:
parent
5ed66f0fe9
commit
88f0aada4b
2 changed files with 28 additions and 24 deletions
50
README.md
50
README.md
|
|
@ -38,22 +38,6 @@ As one user described it:
|
|||
* Provide a mixed Clojure/Bash DSL (see portability).
|
||||
* Replace existing shells. Babashka is a tool you can use inside existing shells like bash and it is designed to play well with them. It does not aim to replace them.
|
||||
|
||||
### Setting expectations
|
||||
|
||||
Babashka uses [sci](https://github.com/borkdude/sci) for interpreting
|
||||
Clojure. Sci implements a substantial subset of Clojure. Interpreting code is in
|
||||
general not as performant as executing compiled code. If your script takes more
|
||||
than a few seconds to run or has lots of loops, Clojure on the JVM may be a
|
||||
better fit as the performance on JVM is going to outweigh its
|
||||
startup time penalty. Read more about the differences with Clojure
|
||||
[here](#differences-with-clojure).
|
||||
|
||||
### Talk
|
||||
|
||||
To get an overview of babashka, you can watch this talk ([slides](https://speakerdeck.com/borkdude/babashka-and-the-small-clojure-interpreter-at-clojured-2020)):
|
||||
|
||||
[](https://www.youtube.com/watch?v=Nw8aN-nrdEk)
|
||||
|
||||
## Quickstart
|
||||
|
||||
For installation options check [Installation](https://github.com/borkdude/babashka#installation).
|
||||
|
|
@ -75,6 +59,33 @@ $ ls | bb -i '(filter #(-> % io/file .isDirectory) *input*)'
|
|||
bb took 4ms.
|
||||
```
|
||||
|
||||
### Babashka users
|
||||
|
||||
Are you using babashka in your company or personal projects? Let us know [here](https://github.com/borkdude/babashka/issues/254).
|
||||
|
||||
### Setting expectations
|
||||
|
||||
Babashka uses [sci](https://github.com/borkdude/sci) for interpreting
|
||||
Clojure. Sci implements a substantial subset of Clojure. Interpreting code is in
|
||||
general not as performant as executing compiled code. If your script takes more
|
||||
than a few seconds to run or has lots of loops, Clojure on the JVM may be a
|
||||
better fit as the performance on JVM is going to outweigh its
|
||||
startup time penalty. Read more about the differences with Clojure
|
||||
[here](#differences-with-clojure).
|
||||
|
||||
## Status
|
||||
|
||||
Functionality regarding `clojure.core` and `java.lang` can be considered stable
|
||||
and is unlikely to change. Changes may happen in other parts of babashka,
|
||||
although we will try our best to prevent them. Always check the release notes or
|
||||
[CHANGELOG.md](CHANGELOG.md) before upgrading.
|
||||
|
||||
### Talk
|
||||
|
||||
To get an overview of babashka, you can watch this talk ([slides](https://speakerdeck.com/borkdude/babashka-and-the-small-clojure-interpreter-at-clojured-2020)):
|
||||
|
||||
[](https://www.youtube.com/watch?v=Nw8aN-nrdEk)
|
||||
|
||||
## Babashka book
|
||||
|
||||
The [babashka book](https://book.babashka.org) contains detailed information
|
||||
|
|
@ -124,13 +135,6 @@ More examples can be found [here](examples/README.md).
|
|||
You can try babashka online with Nextjournal's babashka [notebook
|
||||
environment](http://nextjournal.com/try/babashka?cm6=1).
|
||||
|
||||
## Status
|
||||
|
||||
Functionality regarding `clojure.core` and `java.lang` can be considered stable
|
||||
and is unlikely to change. Changes may happen in other parts of babashka,
|
||||
although we will try our best to prevent them. Always check the release notes or
|
||||
[CHANGELOG.md](CHANGELOG.md) before upgrading.
|
||||
|
||||
## Installation
|
||||
|
||||
### Brew
|
||||
|
|
|
|||
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 834d9dc54a8355e9e1f06e460467ddd29fd39a6a
|
||||
Subproject commit 9700f35e0eae9df3ec59a88ded57b7ac4fa8ab45
|
||||
Loading…
Reference in a new issue