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 array access #140

Merged
merged 4 commits into from
Sep 28, 2023
Merged

Pollen supports array access #140

merged 4 commits into from
Sep 28, 2023

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.

Copy link
Collaborator

@sampsyo sampsyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!!! Awesome that this works now!

pollen/src/pollen.pest Outdated Show resolved Hide resolved
@susan-garry susan-garry merged commit a776255 into parser Sep 28, 2023
1 check passed
@susan-garry susan-garry deleted the array-access branch September 28, 2023 19:09
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