Commit Graph

24 Commits (8ac397daa2976c81cc2f81de2c3ab58cdef5ea36)

Author SHA1 Message Date
michel 38c173f3be v4 parser: touched Makefile to test SVN messages
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1306 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-06-07 12:38:25 +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 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 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
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
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
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
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
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 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 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
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 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 9529f99e84 v4 parser: modified Makefile, added Makefile.linux
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@874 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-08-27 13:16:58 +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 4abe24ec6f v4: removed parser.src/bin directory; put Makefile in parser.src/; add automatic generation of dependencies (*.P) files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@598 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-15 12:33:12 +00:00