I would if I knew how to call it.
library(V8)
ctx <- v8()
ctx$source("https://github.com/stan-dev/stanc3/releases/download/nightly/stanc.js")
seems to work now, but I don’t know where to go from there. Something like
> ctx$call("stanc", "foo.stan", "foo.cpp")
seems like it should work but says
Error in context_eval(join(src), private$context) : 0,248,Failure,-3,