rewrite-clj

lread 2021-08-24T18:57:33.053100Z

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

javi 2021-08-25T14:08:37.060100Z

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.

lread 2021-08-25T18:10:00.060400Z

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

2021-08-24T19:04:10.053300Z

It almost works

2021-08-24T19:04:57.053500Z

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

2021-08-24T19:05:19.053700Z

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

2021-08-24T19:07:10.053900Z

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

2021-08-24T19:07:22.054100Z

Something like regex capture groups

2021-08-24T19:07:41.054300Z

But I guess I can some semi generic abstraction myself

2021-08-24T19:08:02.054500Z

Rewrite-clj is the low level machinery I guess

lread 2021-08-24T19:09:13.054700Z

Yes, I think so.