Modia.jl icon indicating copy to clipboard operation
Modia.jl copied to clipboard

Promote docstrings to info="..." in model definition

Open alhirzel opened this issue 5 years ago • 0 comments

When defining e.g. a Parameter, a comment can be added as follows:

height = Parameter(1.0, info="Height of pulse")

I propose supporting the following additional syntax as part of the @model macro, and @equations macros, as appropriate:

"""Height of pulse"""
height = Parameter(1.0)

alhirzel avatar Feb 11 '19 20:02 alhirzel