Update README.md
This commit is contained in:
parent
6dee50b0fa
commit
aedbb7593d
1 changed files with 10 additions and 7 deletions
17
README.md
17
README.md
|
|
@ -4,26 +4,29 @@
|
||||||
[](https://clojars.org/borkdude/babashka)
|
[](https://clojars.org/borkdude/babashka)
|
||||||
[](https://cljdoc.org/d/borkdude/babashka/CURRENT)
|
[](https://cljdoc.org/d/borkdude/babashka/CURRENT)
|
||||||
|
|
||||||
An extremely limited version of Clojure in Clojure for shell-scripting.
|
A pure, fast and limited version of Clojure in Clojure for shell scripting.
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
|
|
||||||
- pure (no side effects)
|
- pure (no side effects)
|
||||||
|
- fast startup time
|
||||||
- interprets only one form
|
- interprets only one form
|
||||||
- reads from stdin and writes to stdout
|
- reads from stdin and writes to stdout
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
|
|
||||||
Experimental, mostly for fun.
|
Experimental. Not all Clojure core functions are supported yet, but can be
|
||||||
|
easily
|
||||||
|
[added](https://github.com/borkdude/babashka/blob/master/src/babashka/interpreter.clj#L10). PRs
|
||||||
|
welcome.
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
`bb` supports the following options:
|
The first argument to `bb` is the form to be executed. There is one special
|
||||||
|
variable, `*in*`.
|
||||||
|
|
||||||
- `--version`: if present, prints current version of `bb` and exits.
|
If the first argument is `--version`, then `bb` will print the version and exit.
|
||||||
|
|
||||||
By default, the first argument to `bb` is the form to be executed. There is one
|
|
||||||
special variable, `*in*`.
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue