Skip to content

Capture range without producing values #75

Answered by foonathan
asl asked this question in Q&A
Discussion options

You must be logged in to vote

I have added support for dsl::capture(dsl::p<token_production>), as well as iterator range support to lexy::as_string. The latter allows lexy::as_string<std::string_view> from two dsl::position (in C++20 where it has the range constructor).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@foonathan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by foonathan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants