This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-15
Channels
- # announcements (3)
- # aws (2)
- # babashka (57)
- # beginners (24)
- # clj-kondo (5)
- # clj-together (3)
- # cljs-dev (11)
- # clojure (83)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (32)
- # clojure-filipino (1)
- # clojure-hk (5)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-sg (1)
- # clojure-spain (1)
- # clojure-taiwan (1)
- # clojure-uk (2)
- # clojurescript (7)
- # conjure (36)
- # data-science (19)
- # datomic (27)
- # emacs (44)
- # events (4)
- # fulcro (16)
- # honeysql (6)
- # inf-clojure (1)
- # interop (5)
- # malli (5)
- # nbb (1)
- # off-topic (19)
- # pathom (4)
- # practicalli (1)
- # remote-jobs (4)
- # ring (1)
- # shadow-cljs (72)
- # spacemacs (2)
Not sure this is worth mentioning, but just in case it is useful info…
I finally got around to updating/testing cljdoc-analyzer with ClojureScript 1.11 and found I’ll need to adapt to the now vendorized clojure tools reader.
Current cljdoc analyzer code binds a clojure.tools.reader/*default-data-reader-fn*
during file analysis.
I’m going to adapt by first looking for cljs.vendor.clojure.tools.reader/*default-data-reader-fn*
then, if that does not resolve, fall back to clojure.tools.reader/*default-data-reader-fn*
for older versions of ClojureScript.
I think that makes sense. If not, happy to hear about it.
I think there was some work done to re-bind the bound default-reader-fn if it was already bound, to the vendored one, but I could be mistaking
Thanks, I saw the cljs.vendor.bridge
, but do not understand it very well yet. Maybe I should be using it somehow instead.
@lee How I understand it is that, if you include tools reader yourself, cljs will try to use your bound value, and you can keep doing what you were doing
Not entirely sure yet, but it seems the cljdoc code currently wants to use the bundled tools reader for analysis (previously not vendored, now vendored). Which seems reasonable. Maybe.
that doesn't sound right to me, but it depends on this: https://clojurians.slack.com/archives/C07UQ678E/p1657899551320779
I don't think it's a big problem to use the vendorized stuff? I can't see any obvious major issue