spirit
spirit copied to clipboard
Boost.org spirit module
``` #include #include #include #include #include int main() { std::cout
Another functionality that has changed in 78. When having a disjunction A|A it is no longer simplified into a single A, the synthesized attribute is variant. Is this expected? https://godbolt.org/z/Mjoc9aKMa
**Example code** https://godbolt.org/z/W8vsTPM6f **Current behaviour** Won't compile because `fusion::reverse_view` has no default constructor. **Expected behaviour** To print: ``` 10 3.141 20 4.555 ``` Hello. Is it possible to implement support...
After upgrade to boost 1.78, my grammar doesn't compile. Consider ```c++ #include #include #include #include #include #include namespace x3 = boost::spirit::x3; struct S1 { double bStar; uint64_t f1; uint64_t f2;...
I am using the spirit library in conjunction with the fusion library. I need to parse a structure from a string, given that the elements in the string are in...
Hi! X3 lacks auxiliary 'lazy' parser despite X3's docs state the opposite: https://www.boost.org/doc/libs/develop/libs/spirit/doc/x3/html/spirit_x3/quick_reference/auxiliary.html Please add the lazy parser or update the docs. Thanks!
I had to move to more up-to-date boost library and some of my unit test failed. I high-jack the reduced example from [x3 error handler shows error location on the...
The position returned by the error_handler where() points to the last successful parse point, not the beginning of the failure. Hence the error messaging is not very meaningful and does...
Sample code to reproduce the issue: ```c++ #define BOOST_SPIRIT_UNICODE #include int main() { typedef std::string::const_iterator iterator_type; namespace qi = boost::spirit::qi; namespace unicode = boost::spirit::unicode; std::string input("\"Test ⏳\""); qi::rule quoted_string =...
Some of our code broke after the 1.78.0 update. I finally managed to pinpoint the issue. It looks like for some reason a grammar that is a disjunction needs the...