babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
2020-09-21T08:44:30.035100Z

@borkdude: FYI I created this issue on rolling bb support upstream into integrant: https://github.com/weavejester/integrant/issues/86

đź‘Ť 1
2020-09-21T08:59:54.036300Z

@borkdude: Some of the integrant tests use clojure.core/find-var and it looks like that’s not included in bb/sci. Is that supportable?

2020-09-21T09:00:28.036500Z

----- Error --------------------------------------------------------------------
Type:     clojure.lang.ExceptionInfo
Message:  Could not resolve symbol: find-var
Location: /Users/rick/repos/3rdparty/integrant/test/integrant/core_test.cljc:101:50
Phase:    analysis

----- Context ------------------------------------------------------------------
 97:      (is (= (ig/read-string "{:foo/a #ig/ref :foo/b, :foo/b 1}")
 98:             {:foo/a (ig/ref :foo/b), :foo/b 1}))
 99:      (is (= (ig/read-string "{:foo/a #ig/refset :foo/b, :foo/b 1}")
100:             {:foo/a (ig/refset :foo/b), :foo/b 1}))
101:      (is (= (ig/read-string {:readers {'test/var find-var}}
                                                      ^--- Could not resolve symbol: find-var
102:                             "{:foo/a #test/var clojure.core/+}")
103:             {:foo/a #'+}))))
104:
105: #?(:clj
106:    (defn- remove-lib [lib]

borkdude 2020-09-21T09:01:53.037Z

Certainly. It's like resolve but only for vars right?

2020-09-21T09:02:07.037200Z

Yeah I think so

borkdude 2020-09-21T09:02:20.037500Z

ok, can you post an issue in sci? This is easily supportable

2020-09-21T09:02:34.037800Z

of course :thumbsup:

2020-09-21T09:02:57.038Z

looks like you already support find

2020-09-21T09:03:04.038200Z

(which find-var uses)

borkdude 2020-09-21T09:03:19.038600Z

I think resolve is a better drop-in for this

borkdude 2020-09-21T09:03:32.038900Z

resolve is implement in sci.impl.namespaces, if you want to take a stab at it

borkdude 2020-09-21T09:04:28.039200Z

sci has its own implementations of these things

borkdude 2020-09-21T09:07:54.039800Z

If you have questions/suggestions about sci implementation related things, #sci is also a good channel for that

2020-09-21T09:09:15.040800Z

:thumbsup: Great thanks… I’ll maybe take a look at it later if I have enough energy this evening or later in the week, but for now I need to do some real work…

2020-09-21T09:09:23.041Z

Issue opened here: https://github.com/borkdude/sci/issues/420

borkdude 2020-09-21T09:10:12.041200Z

Thanks. I will fix it before the next bb regardless :)

2020-09-21T09:11:25.041400Z

ok no rush from my part btw… I don’t even have a use for bb yet alone integrant+bb 🙂 just figured I’d have a play with it.

borkdude 2020-09-21T09:12:09.041700Z

compatibility of babashka with existing libs is a nice thing to have

2020-09-21T09:13:33.041900Z

Agreed… there’s a lot of things I can picture myself using sci/bb for; just thought I’d start dipping my toes into the ecosystem a little first. Thanks again for everything! Exciting times!