This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-10
Channels
- # asami (41)
- # babashka (24)
- # beginners (48)
- # calva (41)
- # cider (10)
- # clj-commons (20)
- # clj-kondo (2)
- # cljdoc (8)
- # clojure (131)
- # clojure-australia (4)
- # clojure-europe (17)
- # clojure-hungary (2)
- # clojure-india (2)
- # clojure-nl (3)
- # clojure-uk (1)
- # clojurescript (12)
- # community-development (6)
- # core-logic (4)
- # cursive (11)
- # datomic (22)
- # emacs (25)
- # events (1)
- # exercism (2)
- # fulcro (30)
- # helix (5)
- # honeysql (6)
- # hugsql (3)
- # integrant (12)
- # introduce-yourself (4)
- # lsp (5)
- # malli (5)
- # nextjournal (31)
- # off-topic (4)
- # pedestal (3)
- # portal (51)
- # reitit (33)
- # remote-jobs (1)
- # shadow-cljs (12)
- # sql (10)
- # vim (7)
- # xtdb (37)
Is there a way to pipe pbpaste to bb evaluation. I.e pbpaste | bb -e "pprint"
or something similar?
Nevermind, found it: pbpaste | bb -e "(println *input*)"
I’m assuming that java.net.URLClassLoader is something that should not be added to babashka.
There’s an instance check and a call to .getURLs. And ClassLoader
is used for .getParent
.
@U0HFRSY0M I made a fork of tools.namespace, for now I commented out the dependency on tools.classpath and jar stuff. I think we can make that work as well, but tools.build only uses directory stuff. Also I made a change in SCI and pushed it to the tools-build branch of bb. https://github.com/borkdude/tools.namespace/tree/tools.bbuild
$ clojure -M:babashka/dev -cp src/main/clojure -e "(require '[clojure.tools.namespace.find :as f]) (f/find-namespaces-in-dir (io/file \".\"))"
(clojure.tools.namespace clojure.tools.namespace.dependency clojure.tools.namespace.dir clojure.tools.namespace.file clojure.tools.namespace.find clojure.tools.namespace.move clojure.tools.namespace.parse clojure.tools.namespace.reload clojure.tools.namespace.repl clojure.tools.namespace.track clojure.tools.namespace.dependency-test clojure.tools.namespace.dir-test clojure.tools.namespace.find-test clojure.tools.namespace.move-test clojure.tools.namespace.parse-test clojure.tools.namespace.test-helpers)