Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
dynare
dynare
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 119
    • Issues 119
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Dynare
  • dynaredynare
  • Issues
  • #1414

Closed
Open
Opened Mar 22, 2017 by Houtan Bastani@houtanb
  • Report abuse
  • New issue
Report abuse New issue

command options should be made local, and a new syntax should provide persistent options

Allow users the possibility to bypass the current situation where an option set in one command is perpetuated into other commands when the user doesn't explicitly pass the option again. e.g. In the following case, the second call to command will have options 1, 2, and 3 set even though only 1 and 3 were passed:

command(option1, option2);
command(option1, option3);

Introduce a new syntax such as

command(option1, option2);
command!(option1, option3);

which would tell the preprocessor to reset all command-specific options to their defaults before writing output. To do this, every command's options must be local to a substructure of options_ (i.e. options_.command.option1, options_.command.option2, etc.)

Edited Jan 15, 2019 by Sébastien Villemot
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
decision enhancement
Assign labels
  • View project labels
Reference: Dynare/dynare#1414