Fork me on GitHub
#babashka
<
2020-05-04
>
borkdude09:05:13

$ ./bb '(babashka.pods/load-pod "libhsqldb/hsqldb-babashka-plugin")
(hsqldb.jdbc/execute! "jdbc:hsqldb:mem:testdb;sql.syntax_mys=true" ["create table foo ( foo int );"])'
[{:next.jdbc/update-count 0}]
Example of a pod, a small CLI that babashka can interact with via EDN or JSON. Something I'm experimenting with. Pods can in theory be implemented in any language: Clojure, Rust, Go, etc. as long as they fulfil the protocol.

❤️ 28
stijn13:05:48

this is awesome! 🙂

nate15:05:03

This looks very promising!

penryu10:05:12

@borkdude you are a babashka-updating machine! :thumbsup:

8
babashka 4
souenzzo12:05:24

hey, bit [off] bb but I see in twitter these days something about a "dead (code/namespaces) finder" in clojure and I'm sure that it's something using bb/kondo or some other AWESOME @borkdude stuff 😅

borkdude12:05:25

Carve might be what you’re looking for

👍 4