stanc.cpp
Go to the documentation of this file.
2 
3 /**
4  * The Stan compiler (stanc).
5  *
6  * @param argc Number of arguments
7  * @param argv Arguments
8  *
9  * @return 0 for success, -1 for exception, -2 for parser failure, -3
10  * for invalid arguments.
11  */
12 int main(int argc, const char* argv[]) {
13  std::stringstream out_stream;
14  std::stringstream err_stream;
15  return stanc_helper(argc, argv, &out_stream, &err_stream);
16 }
int stanc_helper(int argc, const char *argv[], std::ostream *out_stream, std::ostream *err_stream)
int main(int argc, const char *argv[])
Definition: stanc.cpp:12