2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-20 04:42:22 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Zach Laine
2020e44fda Radically change the way that repeat_parser generates a sequence of
attributes.  It now produces std::string when Attribute is char, and
std::vector<Attribute> otherwise (except for nope special-casing of course).

Partial fix for #36.
2024-01-02 17:57:46 -06:00
Zach Laine
88a965d9c5 Rename the {callback_,}parse() overloads that take an iterator/sentinel pair
to {callback,}prefix_parse().

Fixes #21.
2023-12-23 04:05:54 -06:00
Zach Laine
25b99b53cd Change the CMake build mode when BUILD_WITHOUT_BOOST is defined not to find
nor include Boost at all.  Fix several problems that this brought out.
2020-09-20 17:32:23 -05:00
Zach Laine
c1205a419d Convert from Boost.Hana to Hana lite, part 1: introduce a template alias for
tuple, and use it throughout the code.
2020-09-20 14:07:49 -05:00
Zach Laine
07daa697f4 Make it an error to put eps in an or_parser anywhere but at the end.
Fixes #7.
2020-08-31 22:02:37 -05:00
Zach Laine
d1cfdbe41d Flatten or and seq parsers fully. 2020-08-31 22:01:48 -05:00
Zach Laine
f802b967da boost::optional -> std::optional 2019-10-30 20:24:30 -05:00
Zach Laine
f3c33af01b boost::variant -> std::variant 2019-10-30 20:12:23 -05:00
Zach Laine
477f95d494 Add tests of paren-grouped ors and seq. 2018-10-11 22:29:11 -05:00
Zach Laine
f5430affba Add or_parser compile tests; fix errors. 2018-10-11 21:59:45 -05:00