boost-spirit-qi
Boost::Spirit::Qi. How to turn inlined parser expressions into standalone grammars, and how to unpack the tuples generated by them?
I\'m using QI and Phoenix, and I want to write a small grammar that returns 4 bools which are to be used as arguments for a function call inside a semantic action.[详细]
2023-03-09 07:31 分类:问答Segmentation fault with trivial Spirit Parser grammar
I\'m running into frequent segfaults with my Spirit Qi parser. After spending days to debug the issue (I found the stacktraces impossible to grok) I decided to trim it down to a minimal example. Can[详细]
2023-03-06 01:27 分类:问答Spirit Qi semantic actions and parameters for functions unrelated to the parser
How would I declare a semantic action that calls a free function that doesn\'t use the attribute the rule/parser returned?[详细]
2023-02-28 23:27 分类:问答boost-spirit numeric parsers and getting the desired synthesised attributes
--edit -- Solved the question : a comment on the last sidenote would be helpfull. Also comments on phoenix::bind overload handling would be helpfull (in my answer).[详细]
2023-02-22 16:51 分类:问答Boost::Spirit::Qi Auto-rules and conditional actions
This is probably a pathetically easy question, especially since I\'ve been successfully using QI to parse simple structures for a while now, and probably should already know the answer, but 开发者_如何[详细]
2023-02-19 07:51 分类:问答Using a pointer to a parser in boost::spirit
Basically I\'m doing an expression parser. As I\'m in need of as good as possible performance, and according to the documentation construction of a grammar can be rather slow, I\'d lik开发者_运维知识库[详细]
2023-02-16 06:03 分类:问答Boost Spirit Qi Re-Establish Skipping with custom skip grammar
I have a grammar that has, up until now, been using the standard boost::spirit::ascii::space/boost::spirit::ascii::space_type skipper.[详细]
2023-02-11 14:20 分类:问答boost spirit expectation failure
I want to parse a vector of the following struct: BOOST_FUSION_ADAPT_STRUCT( event_model::OTNDescriptor,[详细]
2023-02-11 05:34 分类:问答C++/Boost: Writing a more powerful sscanf replacement
I want to write a function in C++ to replace C\'s sscanf that assigns the matches to iterator. Basically, I want something like:[详细]
2023-02-10 23:53 分类:问答Issue trying to compile Spirit.Qi parser
Below is a fully self-contained example.The problem appears to be lines 84-89 - if those lines are commented out, the example compiles. What I\'m trying to parse is each line of a file, with five colo[详细]
2023-02-10 11:02 分类:问答