Zach Laine
f34f096c66
Add logic to repeat_parser analogous to the logic in seq_parser, to enable
...
implicit tuple <-> struct conversions.
Fixes #47 .
2024-01-04 18:38:44 -06:00
Zach Laine
d60d33e40b
Finish implementing support for parsing into structs as if they were tuples.
...
This makes it possible to map from sequence parsers onto structs with no
semantic actions. Also, add a doc section describing how parsing structs
works (including a couple of short example programs).
Fixes #45 .
Partially addresses #28 .
2024-01-03 23:24:37 -06:00
Zach Laine
8bad1f2963
detail::aggregate_to_tuple() -> detail::tie_aggregate(), and change
...
detail::tie_aggregate() to return a tuple of references.
Partially addresses #28 .
2024-01-03 02:28:10 -06:00
Zach Laine
f8fb63766e
Fix aggr_tuple_assignment test for MSVC.
2023-12-30 15:24:04 -06:00
Zach Laine
fcb435df99
Add test for the struct <-> tuple assignment machinery; fix errors.
...
Partially addresses #28 .
2023-12-30 04:12:05 -06:00