I think what you wants to do is plain text processing. For that you do not need 
Nim macros, you may use module strutils and related modules, maybe also pattern 
matching. Basically you parse the input nim file, and then write the pascal 
interface file with that data.

Reply via email to