I’m currently about to translate/update the syntax of posteriordb to the new syntax since we now have 2.26 up on CRAN. I have a vague memory that there exists functionality to do this translation automatically, but can’t find information about this here on discourse or anywhere else. Does anyone know if such a function exists?
This is available on the command line via stanc3: 34.4 Automatic updating and formatting of Stan programs | Stan User’s Guide
Individual interfaces may provide their own wrappers around this, e.g.:
Nice! This helps a lot!
A quick follow-up. This new array syntax, what is the Stan version dependency? Is it 2.26.0?
2.26 is the earliest version yes