Fork me on GitHub
#rewrite-clj
<
2019-08-29
>
sogaiu06:08:23

@lee is it correct that rewrite-clj does not have a way to print out nodes so they can be read back in by read-string and friends? i was thinking it might be interesting / useful to be able to send results of rz/of-string to rebl / punk for examination.

sogaiu06:08:35

i looked at node/protocols and am not seeing any switches there...have some vague memory of being able to see some kind of alternate representations for something rewrite-clj-related...

sogaiu06:08:48

i disabled make-printable! and now rz/of-string results are examinable via at least punk...will try rebl next

sogaiu06:08:59

works in rebl too 🙂

sogaiu06:08:30

i wonder if there's a better way to toggle the make-printable! behavior

lread12:08:09

Hi @sogaiu! I do remember working to add make-printable support to on the cljs side of rewrite-cljc to match clj side behavior. So I think you are saying the override of the default print behavior is not always so helpful. Nothing is coming to mind - I’ll take a little look and get back to you sometime soon.

lread21:08:36

anytime @sogaiu! I was starting to miss our rewrite-clj* chats. simple_smile