boost-spirit-qi
Boost spirit grammar based string splitting
I am using Boost 1.44, The Spirit parser works well for numeric parsing but really is tricky for string parsing. I am trying to parse a string to be split using multiple delimiters: \',\' ,\';\' or \'[详细]
2023-04-07 18:16 分类:问答boost spirit with alternative operator '|' Fail! when there are two possibles rules to go
I am working on a http parser. It found a promblem when I try to p开发者_运维问答arse using alternative operator. it is not about the values in attribute that I can fix them using hold[]. The problem[详细]
2023-04-05 10:14 分类:问答Parse string to int or float with boost spirit
I need to parse a wstring to int, float or a string itself. I found a question similar to mine Here but I don\'t understand how to use the parser. I don\'t fin开发者_开发百科d the test_parser method.[详细]
2023-03-29 09:07 分类:问答Parentheses in template parameters in Boost Spirit rules and grammars
Looking at this example for implementing a Spirit parser, something caught me out when I was trying to write something similar.[详细]
2023-03-25 13:25 分类:问答Unable to define a rule in Spirit:: Qi
I am trying to parse a Unix file path into pairs of folders(key/value pairs - as needed by my application). The problem is I am unable to define parsers using qi::rule correctly. I get pages of compil[详细]
2023-03-23 21:53 分类:问答boost spirit qi rules' attribute question
I have the following code can not compile, however I do not know where is the problem: #include <boost/config/warning_disable.hpp>[详细]
2023-03-18 03:10 分类:问答Boost Spirit 2.4.2: Cannot extract a string
Following the resolved question Boost Spirit: Error C2664, Cannot convert 'const boost::phoenix::actor<Eval>' to 'c开发者_如何学Gohar' , I have another question:[详细]
2023-03-17 05:29 分类:问答Is there any way to compose separately compiled boost::spirit::qi grammars?
Boost Spirit Qi parser grammars are wonderful, and I use them for small things all the time. However, there are times when I would like to be able to compose separate grammars.[详细]
2023-03-15 05:46 分类:问答how to parse and verify an ordered list of integers using qi
I\'m parsing a text file, possibly several GB in size, consisting of lines as follows: 11 0.1 14 0.78 532 -3.5[详细]
2023-03-14 17:19 分类:问答How to associate Boost Spirit parsed entities with their location in input stream?
Boost Spirit library permits to Track the Input Position While Pa开发者_运维问答rsing. This mechanism allows informing about location of a parser error during parsing.[详细]
2023-03-12 06:41 分类:问答