rewrite-clj

https://github.com/clj-commons/rewrite-clj
ericdallo 2021-03-11T01:34:43.112800Z

Congratulations on the release! 🎉 I'll make some local tests with clojure-lsp soon

lread 2021-03-11T02:09:51.114Z

Awesome, thanks @ericdallo !

lread 2021-03-11T02:11:05.114900Z

Welcome @nate !

nate 2021-03-11T02:11:24.115300Z

hey! looking forward to following the project

nate 2021-03-11T02:11:47.115900Z

I'm especially hopeful for a babashka pod at some point, but definitely no pressure

nate 2021-03-11T02:11:53.116100Z

thanks for taking up the banner

lread 2021-03-11T02:12:43.116700Z

It’s been enriching!

lread 2021-03-11T02:13:22.117300Z

Welcome @brandon342 !

1👋
lread 2021-03-11T02:13:49.117700Z

And @nwjsmith !

borkdude 2021-03-11T08:41:38.119100Z

@nate Currently a pod isn't possible since the rewrite-clj AST isn't serializable. I'm having thoughts about a separate rewrite-clj scripting CLI.

lread 2021-03-11T12:19:00.121Z

Thanks for the rewrite-clj v1 tweet announce and kind words therein @borkdude!

2❤️
borkdude 2021-03-11T14:22:21.121500Z

@lee Btw you may want to make these tags proper release on Github? https://github.com/clj-commons/rewrite-clj/releases

borkdude 2021-03-11T14:22:29.121700Z

Else they won't show up on the front page

lread 2021-03-11T14:47:04.122100Z

Hmm… thanks, will look into it!

ericdallo 2021-03-11T19:43:42.123300Z

It seems clojure-lsp is working with rewrite-clj alpha release 😄

ericdallo 2021-03-11T19:44:12.124Z

Why zip/value is deprecated? Checking the docstring doesn't point to any replacement

lread 2021-03-11T19:44:57.124600Z

Great news, @ericdallo, thanks for sharing!

1🎉
lread 2021-03-11T19:49:49.127Z

I’ll update the note on zip/value docstring.

lread 2021-03-11T19:53:56.129200Z

Or zip/sexpr , whichever makes more sense in your specific use case. The nice thing about zip/string, if it works for your case, is that it always works.

ericdallo 2021-03-11T19:56:07.129800Z

yeah, we use z/sexpr in a lot of places but there are places where the string makes sense

ericdallo 2021-03-11T19:57:13.131100Z

thanks for the help and your work! I'll keep testing the release for a few days, then I'll check if it fixes some clojure-lsp issues with cljs 🤞

lread 2021-03-11T20:26:16.131500Z

Awesome, thanks for giving it a good shake!

lread 2021-03-11T20:28:23.133400Z

The only thing that broke something for me so far is that rewrite-clj v1 preserves, if it exists, a newline at end of input, some of my code that used rewrite-clj v0 was not expecting that, so I had to adjust. Wasn’t hard - but a minor incompatibility.

ericdallo 2021-03-11T20:30:09.133700Z

Good to know! I'll keep an eye on that