Rstan and Stan 2.20.0

Wait, so the stanc3 parser (written in OCaml) also has a javascript version?

Edit:
Oh wow, didn’t see this before: A javascript stanc3

Interesting. So for future rstan releases, the ocaml parser is compiled from OCaml to javascript, and then the js parser is used by rstan to create the C++? That’s crazy, in the best way. I understand the reason (OCaml dependencies are certainly harder to manage than a single js engine), I’m just surprised it works at all.