rule

C++ Boost qi recursive rule construction

▼魔方 西西 提交于 2019-11-26 21:40:54
问题 [It seems my explanations and expectations are not clear at all, so I added precision on how I'd like to use the feature at the end of the post] I'm currently working on grammars using boost qi. I had a loop construction for a rule cause I needed to build it from the elements of a vector. I have re-written it with simple types, and it looks like: #include <string> // using boost 1.43.0 #include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/qi_eps.hpp> #include <boost/spirit