Exciting news - just got the new compiler to emit C++ that correctly links up with CmdStan and runs the 8 schools model with numerical results that exactly match the existing Stan 2 compiler program’s output. There’s still some work left to do for generating code for more complex models as 8 schools does not really stress the Stan language much, but this is a major milestone that @bgoodri mentioned would be a good time to start integration work with RStan. @ariddell is this when you’d want to integrate it with PyStan as well? I’d expect it to be much easier to plug into PyStan than RStan due to CRAN packaging limitations so you might not need as much of a head start.
@bgoodri, what’s the plan for this? How can we set you up with what you need? Our plan was basically to provide one binary per OS and just have RStan download the correct one automatically on install, but you mentioned you might be able to get CRAN to actually include it.
Thanks to tons of hard work from @Matthijs especially across parsing, semantic checking, and even Linux and Windows static binary builds! And lots of help from others like @Bob_Carpenter, @enetsee (all around functional guru!) and Ryan Bernstein (who switched his quals last minute to compilers & static analysis and used that to help build out our analysis framework with Matthijs).