rewrite-clj

https://github.com/clj-commons/rewrite-clj
vemv 2020-08-02T15:43:00.091400Z

Hi :) Curious, how's the WIP going?

borkdude 2020-08-02T16:04:50.091600Z

https://github.com/lread/rewrite-cljc-playground

1👍
lread 2020-08-02T16:11:14.095400Z

Hiya @vemv, I’m plugging away at getting rewrite-cljc ready for release. I am happy to have gotten GraalVM testing to a working state. Next up is finally figuring out what to do on cljs for namespaced maps. I’d like to https://github.com/lread/rewrite-cljc-playground/projects/1#column-7393778.

1✌️
vemv 2020-08-02T16:16:24.097100Z

Sounding ace! Looking forward Will be happy to try out that first alpha, I have a little WIP something (which probably will be trivial to port from rewrite-clj)

lread 2020-08-02T16:17:44.098300Z

Yeah, porting from rewrite-clj to rewrite-cljc should be trivial.

borkdude 2020-08-02T16:18:00.098700Z

@vemv I've been using this repo in carve since more than 6 months now, so far I've heard no problems

1⚡
borkdude 2020-08-02T16:18:26.099500Z

btw, I also haven't updated, I wonder if I should 🙂

lread 2020-08-02T16:18:36.099700Z

yes, I think it is pretty solid!

lread 2020-08-02T16:18:54.100200Z

thanks for being my first pre-alpha tester @borkdude!

lread 2020-08-02T16:19:33.100700Z

I don’t see any need for you to update at this time.

lread 2020-08-02T16:21:26.102200Z

If you do decide to use rewrite-cljc in its current state, you might be stymied by the fact it is not on clojars. I’ll be releasing it on clojars after I migrate to clj-commons.

1👍
vemv 2020-08-02T16:25:07.102400Z

would be interesting as well to test the same codebase against both rewrite-clj and rewrite-cljc Although I'd understand if it didn't turn to be feasible

lread 2020-08-02T16:34:45.102600Z

It could be… if you use rewrite-clj to rewrite requires for the rewrite-clj namespace to the rewrite-cljc namespace :simple_smile:. I’ve successfully done some rewrite-cljc migration validations for popular projects: https://github.com/lread/cljfmt/commits/lread-rewrite-cljc-test, https://github.com/lread/zprint/commits/lread-rewrite-cljc-test, https://github.com/lread/clojure-lsp/commits/lread-rewrite-cljc-test, https://github.com/lread/refactor-nrepl/commits/lread-rewrite-cljc-test and https://github.com/lread/update-leiningen-dependencies-skill/commits/lread-rewrite-cljc-test. I’ll revisit these once more before first alpha release.

1👏
lread 2020-08-02T16:36:27.102800Z

Feel free to ignore the shenanigans I had to go through in some cases because rewrite-cljc is not on clojars yet.

vemv 2020-08-02T16:37:37.103Z

Yeah I had guessed that you were using such a corpus :) that should be more than enough