Commit Graph

11 Commits (8ac397daa2976c81cc2f81de2c3ab58cdef5ea36)

Author SHA1 Message Date
sebastien c445ce3a98 v4 parser:
* added a computing pass
* ModelTree:
  - separated checking pass, computing pass, and output writing
  - reorganized static and dynamic model file output code


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1121 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 17:31:31 +00:00
sebastien 73d3e17540 v4 parser:
* added an embryonic checking pass after parsing
* modified the decision of which derivatives to compute:
  - if a simul statement is present, compute the jacobian vs endogenous variables only, and no hessian
  - if a stoch_simul/estimation/olr/osr statement is present, compute the jacobian vs all variables, plus the hessian
  - if the two previous conditions are simultaneously fulfilled, abort with an error
  - if none of these two conditions are fulfilled, abort with an error (nothing to compute)
* fixed a minor bug with the size of the jacobian matrix when computing it only vs endogenous variables


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1120 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 11:44:58 +00:00
sebastien 4f9e8a6e27 v4 parser:
* clearly separated the parsing process from the output writing, using an abstract intermediary representation of the mod file
* created the Statement class, and its derivatives, for that purpose
* fixed bug with "corr" statements in "shocks" blocks (variables indexes given to matlab were incorrect)
* fixed bug with "optim" option of "estimation" (this option was not passed to matlab)
* fixed bug with "dynatype" and "dynasave" (variable list was not passed correctly to matlab)
* fixed bug with "calib" and "calib_var" (they were unusable because of flex misspecification)
* fixed segmentation fault with "estimated_params_bound" and "estimation_params_init"


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1117 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-12 11:54:30 +00:00
sebastien d5ac5b1fbd v4 parser: created ModFile class, which is the abstract representation of a mod file; removed all static variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1110 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 11:56:02 +00:00
sebastien 6d18a704b0 v4 parser: removed ylmm, replaced by Bison C++ support
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1084 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-17 17:48:11 +00:00
sebastien 41a18b1da6 v4 parser: reindentation of all C++ code, and conversion to UNIX newline convention
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1031 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-04 23:31:17 +00:00
sebastien c50f757b5d v4 parser: renamed .h files to .hh
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1029 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-04 22:41:30 +00:00
sebastien 2b045e2bce v4 parser: refactored Interface.{c,h} so that dynare_m and dynare_s are built at the same time
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@985 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 16:26:20 +00:00
michel f1885a6b26 v4 parser.src: added include/Interface.h to handle Scilab version, many files affected
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@870 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-08-24 13:05:54 +00:00
michel 707e1f67bf v4 parser: added saving <filename>_results (only oo_)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@607 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-18 16:15:44 +00:00
michel 9a9872fd33 dynare_v4 from CVS
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@8 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-18 19:54:39 +00:00