rewrite-clj

2022-05-22T22:57:51.277019Z

Medium request: can the docs list the node types and give examples of given input to create one? There’s the Reader Macro Chars list but that's about how sexpr renders it. For an example of the potential confusion, I would naively expect that true/false/nil aren't “token” types, but they are.

2022-05-22T22:58:41.977979Z

I can open a GitHub issue for this if desired, and if pointed to the relevant information in the source code, would be willing to write some initial docs as well.

lread 2022-05-23T00:14:56.852559Z

Hiya @nbtheduke! Do you mean the type returned by the node’s tag? Maybe I should get around to this too: https://github.com/clj-commons/rewrite-clj/issues/114

2022-05-23T03:02:55.353949Z

Yes, the keyword returned by the function rewrite-clj.node. A list of possible tags (and some description and inputs) would be very helpful. My apologies for using the wrong words

lread 2022-05-23T11:29:29.710709Z

Yeah I agree, that is part of the public interface but maybe not documented very well and maybe only incidentally mentioned. So I’m thinking the user guide and docstrings need a little updating. Is this what you were thinking too?

2022-05-23T12:10:04.995229Z

Yes, that’s about right. Like I said, I’m willing to help write them if that's desired.

lread 2022-05-23T12:11:37.801749Z

How about I take a crack at it sometime soon and you can help me to review for clarity?

👍 1
lread 2022-05-23T12:17:50.761559Z

Raised an issue: https://github.com/clj-commons/rewrite-clj/issues/177 Thanks for bringing these things up @nbtheduke, it is very helpful!

🎉 1
2022-05-22T23:06:36.465659Z

Small request: include link to the generated api docs on the github page for ease of access

lread 2022-05-23T00:11:53.098419Z

We have a cljdoc badge. Do you want something also in the little GitHub about blurb?

2022-05-23T02:57:22.816089Z

I did not know the badge was a link! That’s helpful info lol. I think more clarity is better overall, so including the link in the “external website link” in GitHub would be ideal to me.

lread 2022-05-23T11:31:36.007829Z

Done!

❤️ 1
🎉 1
2022-05-23T11:33:13.033919Z

Thank you so much

lread 2022-05-23T11:35:37.606429Z

My pleasure