`newProc` is procedure, not a macro. `newProc` takes `NimNode` s as input and 
returns `NimNode` s. Macros, however, output the `NimNode` as code not data, 
therefore as @veshka answered, if you call it in a macro then the `NimNode` AST 
returned from `newProc` will be expanded 

Reply via email to