Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expressions render in user-facing syntax #1582

Closed
1 task
bob-carpenter opened this issue Aug 13, 2015 · 4 comments
Closed
1 task

expressions render in user-facing syntax #1582

bob-carpenter opened this issue Aug 13, 2015 · 4 comments

Comments

@bob-carpenter
Copy link
Contributor

There are still some cases that aren't working properly.

  • indexing
@VMatthijs
Copy link
Member

Could you clarify this issue a bit more?

@bob-carpenter
Copy link
Contributor Author

bob-carpenter commented Dec 13, 2018 via email

@VMatthijs
Copy link
Member

Ah right. This has been fixed in stanc3, then. It comes with a pretty printer to render an AST as Stan syntax. (Can be used for auto-formatting.) The error messages thrown by the compiler render AST nodes using this pretty printer whenever they need to refer to a node in the error. In particular, operators get rendered properly.

@rok-cesnovar
Copy link
Member

Fixed in stanc3 as Matthijs mentioned above.

@mcol mcol added this to the 2.22.0 milestone Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants