Commit Graph

33 Commits (86cac3922728add657fc45642a477742e53bbcfb)

Author SHA1 Message Date
michel 77cdcce658 v4: adding Ramsey policy to parser;
changes to Ramsey policy Matlab code

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1133 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 14:42:27 +00:00
michel 6b761cf937 v4 parser: added option mh_revover
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1131 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-26 09:23:01 +00:00
sebastien 637ca0f86e v4 parser DynareFlex/DynareBison: removed unused tokens and other minor cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1130 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-22 11:42:31 +00:00
sebastien 5bbd779bab v4 parser:
* added planner_objective statement, which triggers the creation of filename_objective_static.m
* added computing pass
* added the possibility of writing the hessian in static output file



git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1126 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 23:28:52 +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 f84feddb02 v4 parser: added missing tokens in DynareFlex.ll; added error message for unrecognized characters; fixed minor bugs in DynareBison.yy
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1112 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 14:26:06 +00:00
sebastien 4e324b8410 v4 parser DynareFlex.ll: adding missing pound (#) token; removed catch-all rule
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1111 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 13:39:04 +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
michel f2b1f68e75 v4: prior_analysis, again
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1098 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 17:55:02 +00:00
sebastien 56f54de49a v4 parser: removed Objects class; fixed memory leaks associated to parsing
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1093 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-22 19:01:40 +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 d26b0a49b1 v4 parser: removed factorial, because its logic is not implemented
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1079 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:48:32 +00:00
sebastien 05d0931fdd v4 parser: removed LN token, replaced by LOG
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1077 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:37:51 +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
michel c276dc4a3b v4 DynareFlex.ll: undoing all of Sebastien's changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1008 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-30 11:30:32 +00:00
michel a92a999579 v4 parser.src/DynareFlex.ll: added back #include <unistd.h>, needed for -mno-cygwin in Windows
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@992 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-22 13:49:11 +00:00
sebastien 884e5d700b v4 lexical analyzer: removed useless stuff
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@983 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 15:32:48 +00:00
michel 68b552aef2 v4 parser.src: undoing rev. 944
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@945 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-04 18:32:33 +00:00
ferhat c04c947d4c New version of the parser with block decomposition
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@944 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-04 16:46:10 +00:00
michel 49075f9331 v4 parser: added constant/noconstant option
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@910 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-11 13:59:06 +00:00
michel 4e180bd3a1 v4 parser.src: added deterministic shocks
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@722 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-04-29 13:38:12 +00:00
michel 91f8b693fc v4 parser: set up # statements
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@702 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-04-03 08:33:57 +00:00
michel d5b79d36ee v4 parser: corrected bug in coments
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@700 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-30 19:47:00 +00:00
michel 06baee8f9b v4 added irf option for estimation; removed useless instruction in DynareFlex.ll; removed include/DynareBsion.h that shouldn't be on SVN
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@673 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-11 16:55:40 +00:00
michel 7274e3fbcb v4 parser: changed option nobs to vec_int and added option filter_step_ahead
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@646 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-03-05 14:31:22 +00:00
michel 898f6fcd9f v4 parser: correcting bug with FLOAT_NUMBER and adding handling of XLS files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@627 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-02-14 10:43:11 +00:00
michel aeb0c6dffa v4 parser: DynareFlex.ll corrected definition of FLOAT_NUMBER
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@620 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-02-11 20:50:27 +00:00
michel a479cc1ed1 v4 DynareFlex.ll: corrected handling of end of line (bug with DOS files)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@614 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-20 21:23:36 +00:00
michel dd557a7c8c v4: corrected bug in ; after end at end of Dynare blocks
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@518 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-11-24 15:54:00 +00:00
michel 9eb6c0c5ea added option periods
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@481 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-10-06 08:12:20 +00:00
michel ab037755d8 added all syntax of version 3.046+correction for parentheses bug
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@439 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-04 19:14:17 +00:00
michel 56f4663197 corrected problem with check for backward models
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@13 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-02-20 18:25:09 +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