boost-spirit-qi
Plus operator in boost qi doesn't work as expected
Here\'s a sample code #include <boost/config/warning_disable.hpp> #include <boost/spirit/include/qi.hpp>[详细]
2023-02-06 01:39 分类:问答Boost.Spirit.Qi: Take a rule's attribute and set it as a field of an enclosing rule's struct attribute?
Like, many of these other questions, I\'m trying to parse a simple grammar into a tree of structs using Boost.Spirit.Qi.[详细]
2023-02-03 11:23 分类:问答Storing a boost::spirit::qi::rule in a std::list
I have read the other thread about copy or reference semantics for boost::spirt::qi::rule.I am using Boost 1.42.[详细]
2023-01-30 08:52 分类:问答Parsing escaped strings with boost spirit
I´m working with Spirit 2.4 and I\'d want to parse a structure like this: Text{text_field}; The point is that in text_field is a escaped string with the symbols \'{\', \'}\' and \'\\\'.[详细]
2023-01-21 07:35 分类:问答How can I parse different structures with Boost.Spirit.Qi?
In this example, employee structs are parsed in the form \"employee{int, string, string, double}\". I would like to know whether it is possible to modify this example to also parse different types of[详细]
2023-01-17 18:56 分类:问答Is it possible to create custom Parsers in Boost.Spirit?
I was trying to create a custom Parser class in Boost.Spirit (2.3), but it didn\'t work out. The code is:[详细]
2023-01-12 10:03 分类:问答Is there an alternative for boost::phoenix::at_c in combination with boost::spirit::qi::grammar
I have created a test application to illustrate my problem. It parses a list of integers preceded by \"a=\" or \"b=\" and is separated by \"\\r\\n\". The list contains multiple occurrences of those fi[详细]
2023-01-07 21:10 分类:问答How can I track my input position with multiple inputs using Boost::Spirit::Qi?
I\'d like to support something like C++\'s #include mechanism in a boost spirit parser. Essentially, I have a script command that asks my parser to load a sub script from a file. I\'d like to be able[详细]
2023-01-05 08:55 分类:问答Boost Spirit rule with custom attribute parsing
I am writing a Boost Spirit grammar to parse text into a vector of these structs: struct Pair { double a;[详细]
2023-01-05 08:30 分类:问答What is the problem with this simple boost::spirit::qi parser?
I\'ve got this simple parser intended to parse VB style double quoted strings. Thus, the parser should turn something like[详细]
2023-01-05 00:41 分类:问答