I must say, this is perhaps the coolest thing I've done with meander š
(m/match '(let [b 2
c b
a (+ b 4)]
(a)
b)
(let [!var (m/cata !val) ...]
.
!outs ...)
(concat
`(let ~(vec (interleave
!var
(map (fn [val-statement]
`(capture ~(uuid) ~val-statement))
!val))))
!outs)
(?function-or-macro . (m/cata !args) ...)
(concat `(~?function-or-macro)
!args)
(m/pred symbol? ?x)
`(capture ~(uuid) ~?x)
?x ?x)
I'm playing around to see how hard it would be to get debux like info from macros with rewriting provided by meander. Looks promising so far š@jatkin Interesting! Debux is already pretty good for me, which part of it doesn't satisfy you?
Iām experimenting with some ui front ends for debux/data exploring. Iām sure I can use the backend of debux, but it occurred to me that I could use meander so I had to try it at least :)
??
sorry, wrong @ ... Your ID is "James Tolton", which sorts close to "Jarrett Atkinson" ...