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

OysterKit doesn't parse mix of one an two letters identifiers #103

Open
diniska opened this issue Aug 11, 2024 · 0 comments
Open

OysterKit doesn't parse mix of one an two letters identifiers #103

diniska opened this issue Aug 11, 2024 · 0 comments

Comments

@diniska
Copy link

diniska commented Aug 11, 2024

Let's say we want to parse different identifiers composed from two letters.

grammar Example

identifier = "A" | "B" | "Aa" | "Ab" | "Ba" | "Bb"

Then this test

try Example.build("Ab")

throws an error: Interpretation Error: AST construction failed.

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

No branches or pull requests

1 participant