Hi,
I want to generate a hierarchical structure of typedefs by feeding an xml file to a macro. The result should look like this:
typedef Base = { var val:String; }
typedef A = { > Base, var b:B; }
typedef B = { > Base, var c:C; }
typeDef C = { > Base; }
...
I know there is haxe.macro.MacroType<[MyMacro.eval()]> for this, but I don't have a clue how to write eval().
Anyone can point me in the right direction?
best,
Michael