| 13 | namespace bp = boost::parser; |
| 14 | |
| 15 | int main(int argc, char const * argv[]) |
| 16 | { |
| 17 | std::string input = "World"; |
| 18 | if (1 < argc) |
| 19 | input = argv[1]; |
| 20 | |
| 21 | std::string result; |
| 22 | bp::parse(input, *bp::char_, result); |
| 23 | std::cout << "Hello, " << result << "!\n"; |
| 24 | } |
| 25 | //] |