Is that a thing? Or is there a similar experience?
I'm still trying to wrap my mind around procedural macros and was wondering if there are resources that would make it easier to just play with the AST and related types and see the results "in another window" semi-interactively.
I have a proc-macro = true crate and didn't want to pollute it by turning it into another project. I'm wondering if there's a "playground" or maybe a pre-existing crate that makes it easy to just experiment with the types introduced by syn, quote and friends without having to entirely understand where things go and how to just "get started".
I know about cargo-expand. I guess I can just use that but I feel like I need to create another "playground" crate, depend on my proc-macro crate ... know some new and familiar things ... I'd be more "fun" if I could tighten the loop and just tinker around and understand what does what.
Or maybe even: "how do I add and run tests for my proc-macro crate?"