This commit is contained in:
Michiel Borkent 2020-05-16 15:42:33 +02:00
parent d601330fe7
commit b83b814e55

View file

@ -557,6 +557,19 @@ namespace which allows dynamically adding to the classpath.
See [deps.clj](doc/deps.clj.md) for a babashka script that replaces the `clojure` bash script.
## Data readers
Data readers can be enabled by setting `*data-readers*` to a hashmap of symbols
to functions or vars:
``` clojure
$ bb "(set! *data-readers* {'t/tag inc}) #t/tag 1"
2
```
To preserve good startup time, babashka does not scan the classpath for
`data_readers.clj` files.
## Uberscript
The `--uberscript` option collects the expressions in