Sébastien Villemot
4097671218
Emacs mode: add font lock for new “deterministic_trends” block
2021-04-30 11:51:51 +02:00
Sébastien Villemot
1fce40ddeb
Preprocessor: remove the unfinished decomposition in linear and nonlinear blocks
...
Also remove the interface to det_cond_forecast.
Closes : !1626
2021-01-25 18:19:09 +01:00
Sébastien Villemot
a6747827bf
Preprocessor update
...
— Ensure that all statements produce an output in JSON mode
— Remove obsolete “restrictions” block and “var_estimation” statement
2020-11-26 16:34:10 +01:00
Sébastien Villemot
470d8ef079
Emacs mode: update for method of moments routines
...
[skip ci]
2020-07-28 18:10:46 +02:00
Sébastien Villemot
31c19272fb
Emacs mode: add back final line for ELPA compatibility
2020-02-25 14:22:00 +01:00
Sébastien Villemot
3a0327d379
Emacs mode: fix byte compilation
...
The Emacs lisp source file was failing byte-compilation, because the
“dynare-blocks” variable was used within an “eval-when-compile” block, while
its definition was not in such a block.
2020-02-25 12:41:04 +01:00
Stéphane Adjemian (Charybdis)
3c2a1851b5
Fixed typo.
2020-01-17 18:12:41 +01:00
Sébastien Villemot
db7390b8ee
Improve indentation scripts
...
— now accept several input arguments
— the script themselves can now be called with an absolute pathname
— clearer output
2019-12-18 16:24:36 +01:00
Sébastien Villemot
a50845d836
Upgrade uncrustify configuration
2019-12-18 16:22:41 +01:00
Sébastien Villemot
6ba10b88f2
Preprocessor: various provisions for improvements to shock decomposition
...
Accordingly update the MATLAB routines, the testsuite, and the manual.
In particular, “squeeze_shock_decomp” has been renamed to
“squeeze_shock_decomposition” for consistency with other commands.
Ref. #1687 , !1655
2019-12-18 11:56:57 +01:00
Sébastien Villemot
5cb9886a5e
Emacs mode: font locking for now “evaluate_planner_objective”
2019-12-13 18:22:12 +01:00
Sébastien Villemot
c646736b9b
Emacs mode: update for recent additions to the language
2019-12-06 15:24:48 +01:00
Sébastien Villemot
f953374dba
More Unicode copyright symbol
2019-04-16 14:34:05 +02:00
Sébastien Villemot
afde90a4a2
Emacs mode: fix bug introduced in bf60795e8
2019-03-19 14:51:53 +01:00
Sébastien Villemot
bf60795e8e
Emacs mode improvements
...
- bugfix: in "model_name", the "model" part will no longer be colorized
- add colorization for on-the-fly type declarations
- no longer categorize dots as word constituents (they are not even symbol
constituents)
- no longer categorize @ and # as symbol constituents
2019-03-06 18:43:04 +01:00
Sébastien Villemot
a062de8e31
Emacs mode: add colorization for "@#include" and "@#includepath"
...
Also expand the TODO list
[skip ci]
2019-03-04 23:30:28 +01:00
Sébastien Villemot
a7db127b74
Emacs mode improvements
...
* Font locking (colorization)
- all keywords for statements and blocks are now recognized (but not option names)
- MATLAB-style (single-quoted) strings now recognized
- improve handling of macroprocessor (but multiline macro commands/exprs not
yet working)
- recognize mathematical functions and constants (nan and inf)
- highlight the pound-sign for model-local variables
* Indentation
- basic indentation within blocks (offset customizable through option)
- more elaborate indentation (e.g. multiline equations or statements) not yet
working
2019-03-01 18:40:47 +01:00
Sébastien Villemot
54335242c9
Update uncrustify configuration for version 0.64
2019-01-04 16:32:05 +01:00
Sébastien Villemot
47c2fa3610
Use magic comments for autoloads in Emacs mode file
...
Also automatically trigger the mode for files with the .mod extension.
2017-07-25 16:26:21 +02:00
Stéphane Adjemian (Charybdis)
33b09aa9e8
Updated LAST_UPDATE_COMMIT variable.
2017-05-18 18:39:02 +02:00
Stéphane Adjemian (Charybdis)
2f07c6f1db
Updated indentation script for c/h/cc/hh files.
...
+ set utf-8 encoding.
+ delete trailing whitespaces.
2017-05-16 16:28:57 +02:00
Stéphane Adjemian (Charybdis)
3d91cf9716
Updated indentation script for matlab files.
...
+ set utf-8 encoding.
+ delete trailing whitespaces.
2017-05-16 14:55:56 +02:00
Stéphane Adjemian (Charybdis)
a4f563f99f
Updated LAST_UPDATE_COMMIT variable.
2017-05-16 14:45:24 +02:00
Sébastien Villemot
dd1e19ca36
Make scripts work when run from other directories.
2014-07-31 15:45:15 +02:00
Sébastien Villemot
1d3bca8ad3
Push scripts for reindenting and for fixing copyright years.
2014-07-31 15:29:40 +02:00
Houtan Bastani
574472a288
script to find differences in matlab functions between one commit and another. Fixes ticket 228
2012-06-11 12:27:40 +02:00
Houtan Bastani
45988e258a
add comment/copyright to script
2012-06-08 20:01:31 +02:00
Sébastien Villemot
346f9ba25c
Move more files to scripts/ and add it to the distribution
2012-06-08 16:29:11 +02:00
Houtan Bastani
622bfcd0c8
python script to compare matlab function names to their filenames, reporting those that differ
2012-06-08 16:25:25 +02:00