Fork me on GitHub
#rewrite-clj
<
2019-10-06
>
borkdude15:10:57

project with similar goal as rewrite-clj: https://github.com/carocad/parcera

borkdude17:10:59

tl;dr: it's based on instaparse which yields 5.5s parse time for clojure core.clj which is a fair amount slower than rewrite-clj.

borkdude17:10:36

it has no namespace for rewriting using e.g. zippers yet. parsed structure is about the same, but it uses vectors instead of maps/defrecords.

lread19:10:14

very interesting! thanks for sharing @borkdude!

borkdude19:10:55

@pez, you're also looking at this right? if you want more performance, it might be good to also check @lee's fork of rewrite-cljs which will become rewrite-cljc

pez19:10:17

Calva depends on rewrite-cljs via cljfmt. I have my own fork to dodge some problems, have forgotten which. 😃

👍 1
pez19:10:05

Super happy that @lee is still on with rewrite-cljc!

lread19:10:21

I brought rewrite-cljs up to par feature-wise with rewrite-clj in rewrite-cljc. I’ve not got much left to do before an alpha release but keep on getting distracted! 🙂

lread20:10:17

Once we find things are stable I’ll ask weavejester if he is open to moving to rewrite-cljc for cljfmt. I expect he will be.