Re:Stan: a probabilistic programming language
by eggy on Sunday September 20, 2015 @03:35AM
(#10246845)
Clasp [1] could be used to write a Common Lisp version, and as most know, CL makes it easy to write DSLs, interface with C++ (with Clasp), and manipulate code as data, even more so than Julia. I may look into this soon. Very exciting. Great work by the Stan team by making it available across so many popular languages!
[1] https://drmeister.wordpress.com/2014/09/18/announcing-clasp/
And programmatic manipulation (while not impossible) of a Stan program was not high on our priority list. Since the underlying language is C++, you can bypass the Stan language and write (or generate) the C++ directly with a lot of effort. It uses standard (including Eigen) data structures.