C++ library for parsing with Parsing Expression Grammars
Parsing Expression Grammar Template Library
pegtl$ #include <tao/pegtl.hpp>
using namespace tao::pegtl;$ struct number : tao::pegtl::seq<tao::pegtl::digit, tao::pegtl::star<tao::pegtl::digit>> {};$ tao::pegtl::string_input<> input("12345", "example");
tao::pegtl::parse<number>(input);