It is possible to use "macro" commands in the .mod
file for doing the following tasks: source file inclusion, replicating blocks of equations through loops, conditional inclusion of code...
Technically, this macro language is totally independent of the basic Dynare language, and is processed by a separate component of the Dynare pre-processor. The macro processor transforms a .mod
file with macros into a .mod
file without macros (doing expansions/inclusions), and then feeds it to the Dynare parser.