I have multiple floating point numbers lines, numbers in a line are space separated e.g. I want to extract the above numbers as strings and parse t ...
I have multiple floating point numbers lines, numbers in a line are space separated e.g. I want to extract the above numbers as strings and parse t ...
I need to parse a key value pair, where key itself is a fixed string lke 'cmd' in the example. Unfortunately qi::lit has no synthesized attribute and ...
I have the following code. This code shall parse two int and return the result of a comparison as a bool. For compare, I use the qi::symbol table. But ...
On NAOqi Framework 2.5 there was a module that allows you to control the LEDs of the robot called ALLeds. Is there something similar, that allows me ...
My input are multiple key, value pairs e.g.: I want to parse the input into the following type: Values for equal keys shall be appended to the v ...
I installed the NAOqi C++ SDK on my MAC and I tried out some examples from the SDK. HelloWorld-Example worked fine but with the OnFaceDetection-Exampl ...
I use pythonsdk and naoqi for programming my pepper robot. i created a session and call the main by it is follows: each run of my program may take ...
I want to parse something like "a=1;b=2;{c=3;d=4;}e=5;f=6;". My problem is how to handle the block within the '{}' chars. The values within the block ...
So I have the following qi skipper: and the following qi grammar: I have binded the found_smth function to the dot character in the grammar. I f ...
I fail to compile code in debug mode (code with BOOST_SPIRIT_DEBUG_NODE(my_rule)) when my_rule has some local variable of custom type. First versi ...
I want to parse undermentioned JSON and extract from it productionYear value and I have the following rule for that: The parser fails with last ...
I'm trying to Parse a String with Boost::Spirit, but i just cannot get it to work. I have no experience with Boost::Spirit since today. The string is ...
Let's say we have a regex "start:(?: ([0-9]{1,2}))? ([0-9].*)". It will match and We can also get the 2 matched string respectively. I try to ...
I'm new to Spirit and to Boost in general. I'm trying to parse a section of a VRML file that looks like this: The comment that starts with # is opt ...
I try to write a grammar to parse the following syntax: Each element shall be interpreted as a string Within a string all symbols are allowed ...
Consider the following code: Result: I am confused why is the result different. What is the correct definition of the qi::rule type to get the ...
I would like to parse about 5-10 different message types that share a common format (such as JSON, for example) but each have specific fields that nee ...
I'm triying to write a parser for javascript identifiers so far this is what I have: This parser work fine for the list of "good identifiers" in my ...
I have the following structure I make it a fusion struct My grammar is implemented as follow: Unfortunately it does not compile. Now I use st ...
I may be asking a very trivial question but am not getting blocks out of my brain to crack it. Trying to parse a SQL like where clause as shown below ...