Skip to content
Snippets Groups Projects
Select Git revision
  • 1de3476546da22eb6bc11bfa23d78b3576f83217
  • master default
  • julia
  • created_preprocessor_repo
4 results

preprocessor

Forked from Dynare / preprocessor
730 commits behind the upstream repository.
Sébastien Villemot's avatar
Sébastien Villemot authored
There were two bugs:
– with the LF convention, newlines were counted twice
– with the CR+LF convention, they were counted four times (because the CR was
  included in yyleng, alongside the LF)

The fix consists in implementing a location_increment() method similar to the
one used for the Dynare parser. This is the most robust solution.

By the way, mark the method DynareFlex::location_increment() method static.
1de34765
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.