Zach Laine
d0cf708ef5
Address TODO about needed fix in compile_seq_attribute test.
2024-01-31 20:52:16 -06:00
Zach Laine
495a3fffbf
Add another case similar to the failing case in compile_seq_attribute.cpp.
2024-01-28 21:24:53 -06:00
Zach Laine
e7efe90a03
In detail::assign, static_assert that the assignment is not arithmetic-type ->
...
std::string.
Fixes #76 .
2024-01-28 01:17:06 -06:00
Zach Laine
c8ce2cace5
Add a special seq_parser combining rule that makes a std::string ot of two
...
adjacent char/char32_t values.
Partially addresses #55 .
2024-01-11 19:24:43 -06:00
Zach Laine
0e78ea2d26
Remove the T >> T -> std::vector<T> attribute combining rule from seq_parser.
2024-01-03 02:04:04 -06:00
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
d34d4b7e6a
Remove the seq_parser C<T> >> C<T> -> C<T> collapsing rule. Add special logic
...
for recursive rules to make accumulating recursive parsers like
recursive_string_rule in the parser_rule test easier to write.
2024-01-01 15:29:45 -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
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
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
Zach Laine
1cc3e53a44
Add seq_parser compile tests; fix errors.
2018-10-11 01:01:11 -05:00