Skip to content
Snippets Groups Projects
Commit ef5c540d authored by MichelJuillard's avatar MichelJuillard
Browse files

add nonstationary option to stoch_simul

parent 6eee287d
No related branches found
No related tags found
No related merge requests found
......@@ -212,6 +212,7 @@ str_tolower(string s)
%token MAX_NROWS SQUEEZE_SHOCK_DECOMPOSITION WITH_EPILOGUE MODEL_REMOVE MODEL_REPLACE MODEL_OPTIONS
%token VAR_REMOVE ESTIMATED_PARAMS_REMOVE BLOCK_STATIC BLOCK_DYNAMIC INCIDENCE RESID NON_ZERO LEARNT_IN PLUS_EQUAL TIMES_EQUAL
%token FSOLVE_OPTIONS
%token NONSTATIONARY
%token ENDVAL_STEADY STEADY_SOLVE_ALGO STEADY_MAXIT STEADY_TOLF STEADY_TOLX STEADY_MARKOWITZ
%token HOMOTOPY_MAX_COMPLETION_SHARE HOMOTOPY_MIN_STEP_SIZE HOMOTOPY_INITIAL_STEP_SIZE HOMOTOPY_STEP_SIZE_INCREASE_SUCCESS_COUNT
%token HOMOTOPY_LINEARIZATION_FALLBACK HOMOTOPY_MARGINAL_LINEARIZATION_FALLBACK FROM_INITVAL_TO_ENDVAL
......@@ -1767,6 +1768,7 @@ stoch_simul_primary_options : o_solve_algo
| o_irf_plot_threshold
| o_dr_display_tol
| o_tex
| o_nonstationary
;
stoch_simul_options : stoch_simul_primary_options
......@@ -4297,6 +4299,9 @@ o_occbin_write_regimes_simul : SIMUL { driver.option_str("write_regimes.type", "
// Some options to "occbin_graph"
o_occbin_graph_noconstant : NOCONSTANT { driver.option_num("graph.steady_state", "false"); };
// options used by DynareJulila
o_nonstationary : NONSTATIONARY { driver.option_num("nonstationary", "true"); };
range : symbol ':' symbol
{ $$ = $1 + ':' + $3; }
......
......@@ -778,6 +778,7 @@ DATE -?[0-9]+([ya]|m([1-9]|1[0-2])|q[1-4])
<DYNARE_STATEMENT>with_epilogue {return token::WITH_EPILOGUE;}
<DYNARE_STATEMENT>heteroskedastic_filter {return token::HETEROSKEDASTIC_FILTER;}
<DYNARE_STATEMENT>non_zero {return token::NON_ZERO;}
<DYNARE_STATEMENT>nonstationary {return token::NONSTATIONARY;}
<DYNARE_STATEMENT>\$[^$]*\$ {
strtok(yytext + 1, "$");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment