stanc3

Stan compiler that transpiles Stan probabilistic programs to C++

brewmacoslinux
Try with needOr install directly
Source

About

Stan transpiler

Commands

stanc3

Examples

Compile a Stan model to C++$ stanc3 model.stan
Generate C++ code and save to specific output file$ stanc3 model.stan -o model.hpp
Check Stan model syntax without generating C++$ stanc3 model.stan --syntax-only