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

Pollen supports the array access postfix operator #138

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

susan-garry
Copy link
Contributor

Pollen can now parse array access statements with arbitrary index expressions, such as path.steps[path.steps.size() - 1]!

This means that paths.pollen parses correctly, so now all of the slow-odgi examples that Priya translated to pollen parse correctly.

@susan-garry susan-garry merged commit 28825ad into parser Sep 18, 2023
1 check passed
@susan-garry susan-garry deleted the array-access branch September 18, 2023 15:25
susan-garry added a commit that referenced this pull request Sep 18, 2023
@susan-garry susan-garry restored the array-access branch September 18, 2023 15:36
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

Successfully merging this pull request may close these issues.

3 participants