Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
preprocessor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Dynare
  • preprocessor
  • Issues
  • #19

Closed
Open
Opened Feb 27, 2019 by Houtan Bastani@houtanbDeveloper

allow for multiple model blocks

Allow for more than one model block in a .mod file. The model equations would be concatenated by the preprocessor.

At the same time, allow for the replacement and removal of equations that have appeared in previous model blocks. We could say that if two equations appear with the same equation tag the second one takes precedence. As for removal, we would need to think of a syntax. Perhaps just an equation tag with no following equation would remove any previous instance of that equation tag. To be decided.

When this is done, we should formalize in the preprocessor the equation tags creating a table that associates a name with a the index of the equation it represents. This would make lookups easier in the preprocessor. This may also require us to create default equation tags to identify equations. To be decided.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Dynare/preprocessor#19