Commit Graph

192 Commits (8ac397daa2976c81cc2f81de2c3ab58cdef5ea36)

Author SHA1 Message Date
sebastien 9f33835d6a v4 parser:
* implemented handling of mod file local variables (eModFileLocalVariable)
* renamed "local parameters" to model local variables (eModelLocalVariables)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1253 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-30 12:09:05 +00:00
michel 8ee3650ac3 v3+4 parser: reverted wrong correction to histval a few months ago
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1251 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-16 15:59:29 +00:00
michel 4271844ffe v4 parser: M_.params initialized with Nan rather than zeros
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1243 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-04-14 16:49:41 +00:00
michel 59f3fa5185 v4 parser: when ramseypolicy instruction is present one must compute derivatives
to one order more than the order of approximation of the solution


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1206 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-10 20:41:35 +00:00
sebastien c188e1e1be v4 parser: removed OperatorTable (no longer needed)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1205 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-10 08:44:18 +00:00
sebastien 573227a044 v4 parser:
* removed Expression class; the "ExprNode" class is therefore now used everywhere
* removed interprete class, and replaced it by a method in ExprNode and an global evaluation context in ModFile
* fixed breakage of SparseDLL / Block decomposition code introduced in previous revision


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1204 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-09 17:27:46 +00:00
sebastien 30c70a35e3 v4 parser:
* reorganised code in ModelTree so that block decomposition and SparseDLL code is clearly separated
* replaced DataTree::offset by ModelTree::mode, using an enumeration of the three modes which is more explicit
* reorganised ExprNode::writeOutput method by using a sixfold enumeration type (ExprNodeOutputType) corresponding to the 6 different contexts in which an expression can be written


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1203 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-03-06 17:14:35 +00:00
sebastien 68c57ae019 v4 parser: no temporary terms in local parameters declaration
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1200 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-28 10:21:20 +00:00
michel cf200ccd4c v4 parser: updating DynareBison.cc/hh
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1199 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:22:02 +00:00
michel aa6e833462 v4 parser: bug correction in ModelTree.cc
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1198 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:21:08 +00:00
michel eb5ab33a71 v4 parser: reverting DataTree.cc to revision 1190
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1197 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:20:23 +00:00
michel f4d669f3e3 v4 parser: write local parameters before temporary terms in ModelTree
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1196 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:04:03 +00:00
michel abd3b96583 v4 parser: added initialization of node_counter in DataTree
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1195 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-24 15:02:07 +00:00
sebastien feec20209d v4 parser: merged Fehrat's changes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1190 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-21 23:28:16 +00:00
sebastien 934f5f21a7 v4 parser:
* added third order derivatives in dynamic file (triggered by order=3 option of stoch_simul/olr/osr/ramsey_policy)
* don't output hessian in dynamic file if order=1 is specified


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1180 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-08 11:56:46 +00:00
sebastien c3d114a7a1 v4 parser:
* declared ExprNode::cost as const
* Makefile: removed DynareBison.{cc,hh} from "clean" rule. Added a "distclean" rule for that purpose
* various minor changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1179 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-05 09:55:41 +00:00
michel ba57343ac3 v4 parser: adding position.hh for people who have an old bison
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1177 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:05:36 +00:00
michel 4bc9ebeeb6 v4 parser: adding location.hh for people who have an old bison
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1176 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:04:31 +00:00
michel b514885d99 v4 parser: adding stack.hh for people who have an old bison
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1175 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:03:09 +00:00
michel 6c31af64cc v4 parser: adding DynareBison.cc .hh for people who have an old bison
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1174 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-02-01 20:00:44 +00:00
michel 5b17081b2b v4 parser.src: corrected bug in EstimatedParamStatement::WriteOutput
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1151 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-13 21:10:16 +00:00
sebastien 0c16f52806 v4 parser:
* reshaped DataTree/ModelTree using a more object-oriented approach
* improved expression sharing algorithm (temporary terms in output files), resulting in smaller output files for big models
* optimized performance (both in computing time and memory consumption)
* bugfix: the expressions stored in local parameters of models (pound expressions) are now derived
* bugfix: cosh(0) = 1
* removed some useless parentheses in output


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1148 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-09 19:00:05 +00:00
michel f67d00cd34 v4 parser: corrected Hessian when declared exogenous variables aren't all present in the model;
add VariableTable::get_dyn_var_nbr()

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1141 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-06 11:29:32 +00:00
michel 3773ad9cc3 v4 parser: used initializer to initialize ModelTree::eq_nbr
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1138 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-05 19:56:39 +00:00
michel 7793bc700f v4 parser: added initialization of eq_nbr=0 in ModelTree::ModelTree()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1135 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-04 22:25:39 +00:00
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
sebastien e3bb760692 v4 parser: made OperatorTable static
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1132 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-02 15:43:18 +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 022ddd81ba v4 parser ParsingDriver: reintroduce check for existence of symbol in expressions
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1127 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 23:50:18 +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 0f9ed33f7d v4 parser: removed ModelParameters class, and moved its components to the relevant places
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1125 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-18 11:29:10 +00:00
michel d035175627 v4 parser: 'check' is also a computing task
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1123 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-17 14:59:39 +00:00
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 be18e12a43 v4 parser VariableTable:
* cleaned and simplified the code
* incorporated VariableTable as a private member of DataTree/ModelTree


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1118 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-14 22:19:39 +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 09c165f386 v4 parser: fixed bug related to non-associativity of POWER operator
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1113 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-28 15:14:14 +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 2a63a0f0e8 v4 parser.src: Makefile for cross compilation on Linux with
CROSS_WIN32=yes
	       Uses i586-mingw32msvc-g++


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1100 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 20:12:55 +00:00
michel d9e6129dc6 v4 parser.src: Makefile for cross compilaton
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1099 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-25 20:09:29 +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 9ff865e84b v4 parser NumericalConstants.{cc,hh}: optimization to avoid multiple IDs for the same constant
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1094 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-23 19:10:41 +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 b36a248d85 v4 parser: merged Makefiles for Linux and Windows; switched to level 3 optimization (-O3)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1086 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-20 15:04:51 +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 9edb14ae04 v4 parser DataTree.hh: fixed bug (wrong operators used at several places)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1078 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 22:44:37 +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 211a839339 v4 parser: fixed minor doxygen issues
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1075 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 12:05:16 +00:00
sebastien f551a446b5 v4 parser: removed unused eLoopIndex type
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1074 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-15 11:40:27 +00:00
michel 0d6355b95b v4 parser: allowing for unused exogenous variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1067 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 17:35:53 +00:00
michel 09ec39757f v4 parser.src: suppressed removal on unused symbols in a model
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1064 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 15:57:48 +00:00
michel da545a2e34 v4 parser: corrected error message
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1063 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-12 15:50:57 +00:00
sebastien 105b544101 v4 parser: added flags for valgrind in Makefile.linux
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1062 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-11 16:53:27 +00:00
sebastien 39884c2d48 v4 parser: removed call to mModelTree.size() (very inefficient since mModelTree is a list)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1060 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-10 23:07:13 +00:00
sebastien f5f295ba7b v4 parser: new algorithm for detection of null derivatives
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1059 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-10 23:04:22 +00:00
sebastien 8f48a7fed1 v4 parser: use lexicographic order of MToken(s) in DataTree::mIndexOfTokens
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1056 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-09 23:32:12 +00:00
sebastien 4930f0669b v4 parser ModelTypes.hh: removed unused stuff
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1055 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-09 23:24:58 +00:00
sebastien 4d4fe5ec08 v4 parser: optimization related to 0=0 equations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1050 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-09 12:39:21 +00:00
sebastien c50cbb1bfa v4 parser: removed redundant static variables initializations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1049 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-09 10:38:53 +00:00
sebastien 1fd7cc2076 v4 parser ylmm/basic_buffer.hh: removed faulty part
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1045 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-06 10:43:02 +00:00
michel 1c6ad9717a v4 DynareParser.cc: commented out problematic function
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1044 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-05 21:34:25 +00:00
sebastien 45a62a261c v4 parser VariableTable.cc: minor indentation changes to match Ferhat's
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1034 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-05 00:19:43 +00:00
sebastien c0ae3a0d57 v4 parser ModelTree.cc: minor indentation changes to match Ferhat's
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1033 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-05 00:08:56 +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 bc48569ea3 v4 parser ModelParameters: removed unused variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1028 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-04 22:22:40 +00:00
michel 3e049c1123 v4 parser: bug in histval
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1026 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-04 17:41:14 +00:00
sebastien 6d249ebf09 v4 parser DataTree/ModelTree: removed unused stuff
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1013 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-01 22:48:26 +00:00
sebastien f0c98e9777 v4 parser: fixed output of Matlab/Scilab comments via abstract interface
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1012 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-11-01 15:13:53 +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 7f78138f71 v4: corrections for deterministic simulations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1002 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-29 16:09:25 +00:00
michel e66f3884db v4 parser.src Makefile for Windows: one more time ...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@997 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-27 13:08:05 +00:00
michel 6831418443 v4 parser.src Makefile for Windows: binary for Matlab is dynare_m.exe
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@996 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-27 13:05:38 +00:00
michel a0ac3828eb v4 parser.src Makefile for Windows without -mno-cygwin in debug mode
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@995 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-27 12:46:50 +00:00
michel 9953f0a1d6 v4 parser.src/Makefile: bug left in previous update
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@994 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-22 14:04:01 +00:00
michel 0b933dee1f v4 parser.src/ Makefile and Makefile.linux: DynareFlex.cc needs include/DynareBison.h as prerequisite
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@993 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-22 13:51:49 +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 d0a7a76fa4 v4 parser: removed unused functions or enumeration types, tweaked some documentation strings
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@989 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-18 10:52:41 +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
sebastien 5a7f50f48c v4 parser ModelTree/DataTree, ModelTypes.h: incorporated some code as object methods, cleaned up some documentation
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@984 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 15:57:25 +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
sebastien d94ebe9eb6 v4 parser: removed bogus files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@982 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 12:53:35 +00:00
sebastien 8cb9a7a1e2 v4 parser ModelTree.cc: removed redundant matlab code output
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@981 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 11:23:16 +00:00
sebastien 3af7bb7b84 v4 parser: added doxygen configuration file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@980 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-13 10:47:27 +00:00
sebastien 0b494754a6 v4 parser: removed bogus files, enhanced the Makefiles
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@979 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-12 18:53:07 +00:00
michel cf650ea461 v4 parser: correcting for 64 bits
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@949 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-07 09:50:42 +00:00
michel 7a5d7f3a53 v4 DynareBison.yy: correcting shift/reduce
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@948 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-10-07 09:50:25 +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 2352ae1626 v4 parser: authorized listing dsge_prior_weight in estimated_params although it doesn't appear in the model
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@928 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-22 06:58:24 +00:00
michel fb30fd76ef v4 parser: add o_constant option; authorized estimated_params element with only 3 parameters
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@927 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-22 06:57:28 +00:00
michel dabe982836 v4: new version of include/DynareBison.h
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@919 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-18 08:02:45 +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 5905166713 v4 parser: set model_tree.computeJacobianExo = true for OSR
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@907 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-09-10 08:14:04 +00:00
kamenik 10ed87768f Added a dependency include/DynareBison.h to %.o targets.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@876 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-08-29 11:28:34 +00:00
michel 804fb72718 v4 parser: adding DynareBison.h
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@875 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-08-28 08:02:38 +00:00