rewrite-clj

https://github.com/clj-commons/rewrite-clj
lread 2020-08-14T02:48:54.146900Z

@sogaiu, I did have something vague in my design notes, I’ll let you know when I have updated it, probably sometime in my tomorrow.

2020-08-14T02:49:59.147500Z

thanks! i happen to be coming across some things that seem to use rewrite-clj πŸ™‚

borkdude 2020-08-14T07:06:47.148400Z

Here's a few: clj-kondo (fork of rewrite-clj), Chlorine (rewrite-cljs), carve (playground), cljfmt (rewrite-clj + rewrite-cljs)

borkdude 2020-08-14T07:08:06.148800Z

Maybe analyzing a bunch of projects on clojars will get your all of them

2020-08-14T11:15:11.149500Z

i've been going through clojars data that i collected and that's where i'm noticing some things πŸ™‚

lread 2020-08-14T16:06:16.150700Z

ah, missed Chlorine, thanks @borkdude!

πŸ‘ 1
lread 2020-08-14T16:17:09.151800Z

https://grep.app was quite a helpful in expanding my list

borkdude 2020-08-14T16:18:57.152100Z

Any projects worth mentioning?

lread 2020-08-14T18:33:34.154300Z

Nothing that would likely surprise you, @borkdude but I had omitted projects like MrAnderson, mutant and kibit.

2020-08-14T23:11:15.156900Z

@lee thanks for the list! i will compare what i come up with, hopefully soon πŸ™‚ btw, at: https://github.com/lread/rewrite-cljc-playground/blob/master/doc/01-introduction.adoc#interesting-alternatives there is a column for "Includes Element Row/Col" -- i think parcera does include this info, but to get at it, one must examine metadata of the node of interest. for example:

(meta
   (nth
    (pc/ast
     (slurp (str (System/getenv "HOME")
                 "/src/clojure/src/clj/clojure/core.clj")))
    10))
#:parcera.core{:start {:row 5, :column 74}, :end {:row 5, :column 75}}
at least i found this works for the jvm version -- i have not tried the cljs version.