Skip to content

Optimize the generation of the recursive macro blocks #68

@tamdaz

Description

@tamdaz

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions