Skip to content
Snippets Groups Projects
Sébastien Villemot's avatar
Sébastien Villemot authored
Macroprocessor: make the removal of “@#line” directives and extra newlines consistent across LF and CR+LF conventions

Simplify the algorithm using only regexps, and add comments.

(cherry picked from commit 1e4eadb2)
a2977dd0
History

Dynare Preprocessor

The Dynare Preprocessor defines the Dynare model language. It takes in a .mod file, computes the derivatives of the model represented therein, and produces MATLAB/Octave, Julia, or JSON output.

License

Most of the source files are covered by the GNU General Public Licence version 3 or later. There are some exceptions, see the respective file headers.