That means it can be simply integrated in a static web page to showcase its functionalities. Which is exactly what we did: https://rok-cesnovar.github.io/stanc3js-demo/index.html
This is meant to showcase what stanc3 does. Currently, you can:
- do a syntax check and print generated C++
- run a pedantic check
- list supported signatures
- check what changes stanc3 optimization does to the generated C++
- run auto-format
- canonicalize your model (fix your model so it uses non-deprecated features, normal_log becomes normal_lpdf for example)
But… it’s really ugly and has a 1990s vibe to it. Before we can think about sharing this with users on a Stan webpage, we need to make it look nicer and use a web browser code-editor for Stan code, like for example https://microsoft.github.io/monaco-editor/.
Is anyone interested in helping it look nicer and more user-friendly? The repo is located here: https://github.com/rok-cesnovar/stanc3js-demo
I know my way around CSS but have no taste or design skills (exhibit A for that is seen on the link) and am also currently swamped with other tasks.