rewrite-clj 2021-08-24

@andrea.crotti please let us know what you end up doing to solve your problem!

i use https://github.com/akhudek/zip-visit with my zippers and write domain specific visitors. ie: i use it in my editor to transform hiccup and have visitors like replace attr, class string to reagent style dot syntax etc … i find it lets me keep the my code clear and reusable.

Thanks for sharing @fj.abanses! I’ll put it on my todo list to have a look-see!

I managed to nuke a few clojure scratch namespace when overwriting with a broken code

That were not in git on purpose but not the end of the world

It would be nice to have a more declarative API to capture the different things I want to parse and rearrange

Something like regex capture groups

But I guess I can some semi generic abstraction myself

Rewrite-clj is the low level machinery I guess

Yes, I think so.