Fork me on GitHub
#rewrite-clj
<
2020-08-14
>
lread02:08:54

@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.

sogaiu02:08:59

thanks! i happen to be coming across some things that seem to use rewrite-clj 🙂

borkdude07:08:47

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

borkdude07:08:06

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

sogaiu11:08:11

i've been going through clojars data that i collected and that's where i'm noticing some things 🙂

lread16:08:16

ah, missed Chlorine, thanks @borkdude!

👍 3
lread16:08:09

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

borkdude16:08:57

Any projects worth mentioning?

lread18:08:34

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

sogaiu23:08:15

@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.