Description
When we want to generate recursive macro blocks, I notice that the code that allows us to do this, is a little complicated. We need to find a way to optimize the code so that we can insert macro blocks more easily.
For example, we could take an approach like these:
It remains to be seen whether the latest version of Crygen will be compatible with the future version.
https://tamdaz.github.io/crygen/guide/macro/#recursive-if-unless-and-verbatim-macro
Library version
v1.1.0
Crystal version
v1.18.0
Description
When we want to generate recursive macro blocks, I notice that the code that allows us to do this, is a little complicated. We need to find a way to optimize the code so that we can insert macro blocks more easily.
For example, we could take an approach like these:
It remains to be seen whether the latest version of Crygen will be compatible with the future version.
https://tamdaz.github.io/crygen/guide/macro/#recursive-if-unless-and-verbatim-macro
Library version
v1.1.0
Crystal version
v1.18.0