Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returning the matching string should be built-in #252

Open
vinniefalco opened this issue Jul 27, 2022 · 2 comments
Open

returning the matching string should be built-in #252

vinniefalco opened this issue Jul 27, 2022 · 2 comments
Assignees
Labels
Design Design input needed

Comments

@vinniefalco
Copy link
Member

Currently, rules have to manually offer a view to the matching string in addition to the semantically relevant parts in the value type. grammar::parse can trivially obtain this information, but we need an interface for the user to access it.

@vinniefalco vinniefalco self-assigned this Jul 27, 2022
@vinniefalco vinniefalco added Design Design input needed and removed Feature labels Aug 23, 2022
@alandefreitas
Copy link
Member

alandefreitas commented Oct 19, 2022

Is there any case where this would be very helpful? I think grammar has changed a lot since then.

@vinniefalco
Copy link
Member Author

There is, but this can be explored later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Design input needed
Projects
None yet
Development

No branches or pull requests

2 participants