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.
- Generating pascal interface markprocess
- Re: Generating pascal interface Stefan_Salewski
- Re: Generating pascal interface markprocess
- Re: Generating pascal interface Araq
- Re: Generating pascal interface markprocess