Native, fast starting Clojure interpreter for scripting
EPL-1.0 License
Bot releases are hidden (Show)
See CHANGELOG.md.
See CHANGELOG.md for release notes.
See CHANGELOG.md.
See CHANGELOG.md.
See CHANGELOG.md.
See CHANGELOG.md for release notes.
See CHANGELOG.md for release notes.
See CHANGELOG.md for release notes.
See CHANGELOG.md for release notes.
See CHANGELOG.md for release notes.
Release v0.0.98 has a couple of small fixes, but most notably, it allows running bootleg as a pod. Bootleg is a CLI around generating static HTML websites. Thanks to @retrogradeorbit for his hard work on this awesome tool. Give it a try!
NullPointerException
clojure.core/bean
and clojure.core/*print-meta*
Thanks to @retrogradeorbit, @lispyclouds and @kolharsam for contributing to this release.
babashka.curl/delete
mappingbabashka.pods/unload-pod
to tear down a pod"code"
field to var section in pod protocol to support loading of client side code. This allows pods to define macros. See docs. One example of this is pod-babashka-hsqldb's with-transaction
macro:$ rlwrap ./bb
Babashka v0.0.96 REPL.
Use :repl/quit or :repl/exit to quit the REPL.
Clojure rocks, Bash reaches.
user=> (require '[babashka.pods :as pods])
nil
user=> (pods/load-pod "pod-babashka-hsqldb")
nil
user=> (require '[pod.babashka.hsqldb :as db])
nil
user=> (def db "jdbc:hsqldb:mem:testdb;sql.syntax_mys=true")
#'user/db
user=> (db/with-transaction [tx db] (db/execute! tx ["create table foo ( foo int );"]) (db/execute! tx ["insert into foo values (1,2,3)"]))
[#:next.jdbc{:update-count 3}]
Thanks @retrogradeorbit, @daviddpark and @mbjarland for contributing to this release.
#419: add support for data readers via *data-readers*
:
bb "(set! *data-readers* {'t/tag inc}) #t/tag 1"
2
To preserve good startup time, babashka does not scan the entire classpath for data_readers.clj
files.
#424: Add classes from java.util.jar
: JarFile
, JarEntry
and JarFile$JarFileEntry
Add enumeration-seq
#427: check syntax of ns
macro: first argument should be present and should be symbol
#432: split out nREPL server into its own library.
The library adds improvements for completion of namespaces and fully qualified names.
#435: add the clojure.zip
namespace
Fix automatic imports for java.lang.Comparable
and java.lang.Process
Include docstrings of clojure.tools.cli
vars
clojure.repl/doc
enhancement: don't print hyphens when no var has been found
Fix binding of dynamic vars that refer to functions.
borkdude/babashka.curl#21: add curl/delete
function
classpath performance improvements
shutdown
op to pod protocol. See https://github.com/borkdude/babashka/blob/master/doc/pods.md#shutdown. This fixes an issue with the hsqldb pod. Needs re-installing a new snapsnot pod binary.clojure.core/with-redefs
.Published by borkdude over 4 years ago
Thanks to @lispyclouds for the contributed hammock time to pods!
New:
Fixes:
babashka.signal
namespacePublished by borkdude over 4 years ago
BABASHKA_FEATURE_DATASCRIPT
feature flagThe following enhancements were made to add compatibility with the doric library:
clojure.core/ns-resolve,
clojure.core/remove-nsand
clojure.core/read`clojure.core/for
: the macro did not fully qualify when
and nth
java.lang.Character
Published by borkdude over 4 years ago
Thanks to @jaydeesimon for contributing to this release.
This release introduces feature flags to allow babashka to be a focused tool for the mainstream user and customizable for people who want to compile their own version of babashka.
See Including new libraries or classes and feature flag documentation.
next.jdbc
and PostgresQL driver introduced in v0.0.89
are no longer part of the standardly distributed bb
binary.:throw false
.babashka.curl
: accept java.io.InputStream
as POST
:body
:err
stringjava.nio.file.OpenOption
clojure.data.xml
vars: https://github.com/borkdude/babashka/commit/00a4fd48551e3de8c2724712a6c988d4a62e5c2e
--describe
command line optionclojure.core/with-bindings
clojure.pprint/*print-right-margin*
--nrepl-server
clojure.java.shell/sh