Commit Graph

50 Commits (74ed99c6cac1df5456f197cea88ca054353c59f1)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 6c0ab379ad Fixed code indentation. 2017-06-14 07:01:31 +02:00
Houtan Bastani 425bab1461 preprocessor: write JSON output for cross refs #1387 2017-03-10 17:28:25 +01:00
Houtan Bastani 9f7b084970 Merge branch 'master' into json 2017-03-10 17:20:15 +01:00
Houtan Bastani ea13b12cf2 preprocessor: add lag info to equation cross references. closes #1398 2017-03-10 16:59:52 +01:00
Houtan Bastani defe06d513 preprocessor: create two different static and dynamic files with the option jsonprintderivdetail. #1387 2017-03-03 14:42:37 +01:00
Houtan Bastani ed3e74994f preprocessor: add onlyjson option to allow exit upon writing of JSON output. #1387 2017-02-28 14:34:22 +01:00
Houtan Bastani a4171ad4ab preprocessor: output JSON after different steps, write static, dynamic, params derivs files in JSON. #1387 2017-02-24 17:43:22 +01:00
Houtan Bastani d05dd34d30 preprocessor: write JSON output. #1387 2017-02-06 17:41:18 +01:00
Houtan Bastani f1d607af99 preprocessor: remove extra exogenous variables. closes #841 2017-01-27 22:48:17 +01:00
Houtan Bastani accd70a4c7 preprocessor: add support for MinGW. #1226 2016-10-14 11:25:23 +02:00
Houtan Bastani 6b7a77d5a9 preprocessor: replace no_2nd_order_params_derivs with params_deriv_order. #1187 2016-05-18 12:26:19 +02:00
Houtan Bastani 253e6c8dfb Revert "Revert "preprocessor: add option no_2nd_order_params_derivs. #1187""
This reverts commit c496d6f5ca.
2016-05-18 10:34:45 +02:00
Houtan Bastani c496d6f5ca Revert "preprocessor: add option no_2nd_order_params_derivs. #1187"
This reverts commit 024586fbb1.
2016-05-17 15:37:46 +02:00
Houtan Bastani 024586fbb1 preprocessor: add option no_2nd_order_params_derivs. #1187 2016-05-12 14:40:28 +02:00
Houtan Bastani 8c2e6655f1 preprocessor: introduce new option compute_xrefs, #1125 2016-02-23 13:57:55 +01:00
Houtan Bastani f143b54142 preprocessor: read config file before macroprocessor run. #1039 2015-08-28 16:09:47 +02:00
Houtan Bastani fe8750c1bc preprocessor: add minimal_workspace option to dynare statement, #946 2015-05-28 11:50:39 +02:00
Michel Juillard 530e314786 adding dynare command line option 'fast' in order not to recompile MEX
files if the lists of variables and the equations haven't changed
between two runs of the same model file.
2015-05-10 20:29:03 +02:00
Houtan Bastani 810c410157 preprocessor: add new commandline option onlyclearglobals. closes #635 2014-12-30 21:51:33 +01:00
Michel Juillard b62e300f8a fixing bugs in commit 182c27f 2014-04-24 14:33:04 +02:00
Michel Juillard 35831c5c46 changed line options for extended preprocessor, adding language option
renamed FileOutputType.hh as ExtendedPreprocessorTypes.hh
updated Makefile.am
2014-04-24 14:33:04 +02:00
Sébastien Villemot 865ad09ee3 Remove last preprocessor information message.
First, the current logic is buggy, because mod_file->use_dll is undefined at
this point (mod_file having been deleted above).

More fundamentally, the preprocessor is now evolving into something to be used
without MATLAB/Octave, so this statement is now inaccurate in some use cases.
2014-03-24 17:06:18 +01:00
Sébastien Villemot 18e81ab22a Rename OutputType to FileOutputType (to distinguish it from ExprOutputType).
Also rename DynareOutput.hh to FileOutputType.hh. Include the latter in dist
tarball, and add copyright/license header.
2014-02-25 16:45:55 +01:00
Michel Juillard 49b34d4c94 write C++ version of model functions without temporary terms 2014-02-24 13:33:48 +01:00
Michel Juillard 2885a00c8f extended-preprocessor: adding line options output= and cuda; starting
to change ModFile::c_driver mechanism
2014-02-24 13:27:14 +01:00
Houtan Bastani b426f7236c ms-dsge: create C driver file without statements
Conflicts:
	preprocessor/DynareMain2.cc
	preprocessor/ModFile.cc
	preprocessor/ModFile.hh
	preprocessor/Statement.hh
2014-02-24 12:41:02 +01:00
Houtan Bastani 6f25bfbea0 preprocessor: remove "using namespace std" where not needed 2013-11-20 11:36:01 +01:00
Houtan Bastani ebd9d9dee7 nostrict command-line option ignores extraneous assignments in initval. closes #1 2013-09-16 16:14:34 -04:00
Houtan Bastani 20dba7e623 new nostrict command-line option does not exit when there are more endogenous than equations (closes #2) 2013-09-13 14:44:01 -04:00
Stéphane Adjemian (Charybdis) 3dc372e5bc Added (command line) nointeractive option. 2013-07-10 12:02:12 +02:00
Stéphane Adjemian (Charybdis) dd21816b13 Added (command line) nograph option. 2013-07-10 11:03:48 +02:00
Sébastien Villemot a64ec3b156 Reorganization of warnings
- at the end of the computation, don't display all preprocessor warnings but
   only their number
 - also display if there has been a MATLAB/Octave warning (counting their
   number does not seem feasible). Closes #181
 - add new "nowarn" option to disable all warnings. Closes #301
2013-02-26 16:50:05 +01:00
Sébastien Villemot 52cc77fe0e New preprocessor option for not creating a logfile
Closes: #241
2012-04-20 18:15:02 +02:00
Houtan Bastani 0ca000cdc9 preprocessor: display a summary of preprocessor warnings at the end of a Dynare run 2012-01-30 10:44:14 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot f4557cb195 Reindentation of the preprocessor 2011-02-04 16:25:38 +01:00
Sébastien Villemot 9d6ad96abd New "console" option (closes #130) 2010-10-28 11:29:39 +02:00
Houtan Bastani c28d15d78a Dynare parallel: preprocessor implementation 2010-10-28 10:54:43 +02:00
sebastien e6f1a53e60 Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00
sebastien fb8406ef0a USE_DLL option now works with MSVC + Added new options for Windows to 'dynare' command, to select the compiler: 'cygwin' and 'msvc' + Added the mexopts.bat for Cygwin in the SVN
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3223 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 14:46:21 +00:00
sebastien ab8b4f37f1 * preprocessor: make optional the warnings about uninitialized parameters/endogenous/exogenous, added a new "warn_uninit" option to dynare command to display them
* reference manual: documented the new option, fixed XML conformance of the document


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3135 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 18:31:03 +00:00
sebastien 97cb944831 preprocessor:
* In stochastic mode, now transforms the model by removing leads and lags greater or equal to 2 (creating auxiliary variables and equations in the process)
* Information about these variables is in structure M_.aux_vars
* Automatically add the necessary initialization for auxiliary vars after the initval block or load_params_and_steady_state


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3002 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-30 15:10:31 +00:00
ferhat 29ca49f885 - Correction of several bugs in sparse_dll
- Pound expressions accepted with sparse option


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2329 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 10:24:31 +00:00
sebastien 342f32b59c trunk preprocessor: added option "notmpterms" to dynare command, for disabling temporary terms in static and dynamic files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2226 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:10:51 +00:00
sebastien 2a7ee3d056 v4 preprocessor:
* DynareBison.yy: added missing declaration of MODEL_INFO as a token
* various cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1995 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 16:45:39 +00:00
ferhat 3bcff08e87 - Bugs corrections in deterministic simulation with sparse option
- Check allowed with sparse option
- New command "MODEL_INFO" providing informations about the block structure of the model
- Memory leak corrections

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1993 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 15:06:36 +00:00
sebastien c72e6ff02e v4 matlab+preprocessor: fix display of preprocessor error message (was truncated by Matlab if too long)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1774 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-02 15:01:52 +00:00
sebastien 8e4374ad10 v4 preprocessor: another minor tweak
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1752 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-28 17:38:10 +00:00
sebastien b155cb56ba v4 preprocessor: minor improvement related to debugging of scanning & parsing
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1751 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-28 17:21:45 +00:00
michel ba0b58dfab v4: changing name of preprocessor directory
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1686 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 10:28:36 +00:00