Nikita Kniazev

Results 256 comments of Nikita Kniazev

The Spirit has a very clear structure. Splitting is not a thing that is promoted or supported, but should be simple to achieve. - Spirit X3 `boost/spirit/home/x3.*` - Spirit V2...

@djowel how do you look at splitting classic into its own repository? There are some precedents in boost of doing that to break dependency cycles. It will also decrease the...

MWE: ```cpp #include #include #include namespace ast { BOOST_FUSION_DEFINE_STRUCT_INLINE ( a3, (std::vector, v1) ) } int main() { namespace x3 = boost::spirit::x3; auto test = [](std::string s, auto&& p) {...

What does it mean for a rule to produce a view. Where that view will point to?

> > What does it mean for a rule to produce a view. > > I can't understand. You mean that this issue not possible? Look at rules like they...

> > If your intention is to be able to reorder/slice fields > > No, it's not a my intention. I answered this question not for reorder/slice fields, I do...

You just going the wrong way. I see no point for rules to have a view attribute, it also does not make logical sense to me. The only reason you...

The whole story is about the other thing. `double_` parser with container attribute does not compile, but `'x' >> double_` does. In other words, sequence collapsing activates for sequence length...

`*double_` into `std::string` is not a bug, but we can turn it into a compile error by disallowing `double_` into integral types, what I find a reasonable requirement.

No one on the Earth will parse as double and then convert it to an integer, it is also a dangerous thing because if the value does not fit you...