:py:mod:`httpstan.compile` ========================== .. py:module:: httpstan.compile .. autoapi-nested-parse:: Runs the `stanc` binary in a subprocess to compile a Stan program. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: httpstan.compile.compile .. py:function:: compile(program_code: str, stan_model_name: str) -> Tuple[str, str] Return C++ code for Stan model specified by `program_code`. :param program_code: :param stan_model_name: :returns: C++ code, stanc warnings :rtype: (str, str) :raises ValueError: Syntax or semantic error in program code.