1 #ifndef STAN_LANG_COMPILER_HPP 2 #define STAN_LANG_COMPILER_HPP 38 const std::vector<std::string>& include_paths
39 = std::vector<std::string>()) {
42 std::stringstream
ss(s);
44 bool parse_succeeded =
parse(msgs, ss, name, reader, prog,
bool compile(std::ostream *msgs, std::istream &in, std::ostream &out, const std::string &name, const bool allow_undefined=false, const std::string &filename="unknown file name", const std::vector< std::string > &include_paths=std::vector< std::string >())
bool parse(std::ostream *out, std::istream &in, const std::string &name, const io::program_reader &reader, program &prog, const bool allow_undefined=false)
void generate_cpp(const program &prog, const std::string &model_name, const std::vector< io::preproc_event > &history, std::ostream &o)
const std::vector< preproc_event > & history() const
std::string program() const