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

Add alphabet= argument to from_lark() strategy #3808

Closed
Zac-HD opened this issue Dec 9, 2023 · 0 comments · Fixed by #3839
Closed

Add alphabet= argument to from_lark() strategy #3808

Zac-HD opened this issue Dec 9, 2023 · 0 comments · Fixed by #3839
Assignees
Labels
enhancement it's not broken, but we want it to be better

Comments

@Zac-HD
Copy link
Member

Zac-HD commented Dec 9, 2023

The hypothesis.extra.lark.from_lark() strategy uses from_regex() for each terminal production (~leaf node) of the grammar. I'd like to pass through an alphabet= argument, which was added in #3730, in order to support downstream usecases such as Zac-HD/hypothesmith#34.

@Zac-HD Zac-HD added the enhancement it's not broken, but we want it to be better label Dec 9, 2023
@Zac-HD Zac-HD self-assigned this Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement it's not broken, but we want it to be better
Projects
None yet
1 participant