Commit Graph

3 Commits (edede274f27e1fcd4d43037e0cebae105c37adbd)

Author SHA1 Message Date
Stéphane Adjemian (Hermes) 5998558c32 Fixed deprecated require issue + Changed interface
+ Fixed deprecated require().

+ Changed @dynare macro and added new macro @compile.
  The new macro @compile just runs the preprocessor, while the macro
  @dynare calls compile and put the generated objects in the
  workspace. Note that this macro can take an arbitrary number of mod
  files as argument.

      *Example*

      @dynare "rbc.mod" "nk.mod"

      Will run the preprocessor on both models, and the generated
      data (model descriptions, options, ...) are available in the
      workspace. For instance, to obtain the number of equations:

	julia> rbc.model.eq_nbr
   	6

   	julia> nk.model.eq_nbr
   	10

   	@compile "rbc.mod" "nk.mod"

   	Will run the preprocessor on both models, but will not load the
   	generated data in the workspace. This can be done as follows:

   	julia> using rbc

+ Changed examples (rbc1 has a steady state block but not rbc2), using
  new interface.
2016-05-23 13:48:19 +02:00
Houtan Bastani bba553ff32 modify *_set_auxiliary_variables to work in julia 2015-08-17 15:36:18 +02:00
Stéphane Adjemian (Charybdis) 7c0cf3eff3 Added bash script for deleting generated files. 2015-08-13 11:12:39 +02:00