I have no idea what it should look like. And yes I lack of practice since I can't get where to start with macro.
Thank you Sven I'll read that.
As for what I don't understand :
- I don't understand what I can do and when, for instance I often see macro using non macro function (to make tests for instance) but I have hard time to understand how the non macro function is already available at macro time.
- Since one can modify the code, I suppose one can modify the modified code and so on ? And maybe and up doing it in an infinite loop ? How do you handle / detect that ?
- I've found only sparse use of macro for metadata
- There are macro (or macro like) stuff pre-build with haxe compiler, for instance @:require. How do you know what is evaluated first ? How do you hack require behavior (if possible) ?
Hope it clarifies what confuses me