boost-spirit
encoding in boost.spirit
How i can set encoding for values in assign_a? I need toset cyrrilic, but i havent any idea how to do it[详细]
2023-01-16 00:37 分类:问答How can I extract double pairs from an std::string with Boost Spirit?
I want to parse a string with a sequence of double pairs into an std::map with Boost Spirit. I adapted the example from[详细]
2023-01-15 11:30 分类:问答Operator precedence in boost::spirit?
I made some tests using the spirit mini_c sample. Unfortunately it does not keep the operator precedence as expected:[详细]
2023-01-14 12:42 分类:问答Copy or reference semantics of boost::spirit's rule<>?
I am trying to write a shell language parser in Boost.Spirit. However, I am unclear about some basic issues regarding semantics of rules.[详细]
2023-01-11 21:10 分类:问答Translation from Boost Spirit Classic to Qi
开发者_JAVA百科I started using spirit yesterday. I have to write a parser for a small language and to form an intermediate data structure. I followed the Pascal Parser example at Boost Repository. Thi[详细]
2023-01-09 04:26 分类:问答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 分类:问答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 分类:问答build error with boost spirit grammar (boost 1.43 and g++ 4.4.1) part III
Ok i am trying to build a grammar and currently it looks like this: #ifndef _INPUTGRAMMAR_H #define _INPUTGRAMMAR_H[详细]
2023-01-04 13:16 分类:问答build error with boost spirit grammar (boost 1.43 and g++ 4.4.1)
I\'m having issues getting a small spirit/qi grammar to compile. The build stack trace is fugly enought to not make any sense to me (despite some assertion_failed i could notice in there but that didn[详细]
2023-01-03 13:42 分类:问答