Hey, people. I've just published a video about a practical introduction to derive macros. The video has a dead-simple example, which will help you understand the basics of derive and procedural macros.
Can’t help but notice the typo “Procedular” on one of the earlier slides
Besides a few typos, I like the video!
I believe characterizing quote
as the inverse of syn
is maybe a bit inaccurate, as turning the syntax tree back into tokens is implemented in syn
as well, quote
only offers the framework for this conversion, via the ToTokens
trait, as well as the quote
macro, which can be useful on its own when manually working with token streams only, but also interacts with ToTokens
nicely.
Hold on, where's the typo?
Thank you.
i was gonna send darwin's sad dance scene but probably have found the best edit of it lol
this typo will probably haunt me before i sleep tonight.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.