/* example.cc */ #include #include "parser/parser.h" using namespace std; int main(int argc, char **argv) { cout << "Enter integral numbers or empty lines.\n" "Other lines should result in a `syntax error'\n" "Blanks and tabs are ignored. Use ^c or ^d to end the program\n" "Use any program argument to view parser debug output\n"; Parser parser; parser.setDebug(argc > 1); return parser.parse(); }