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

Prepare for supporting chained updates #1841

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Qup42
Copy link
Member

@Qup42 Qup42 commented Feb 26, 2025

Required changes in the parsing to be able to support chained updates.

@Qup42 Qup42 requested a review from joka921 February 26, 2025 21:20
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.21%. Comparing base (dae3360) to head (d776159).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1841      +/-   ##
==========================================
- Coverage   90.21%   90.21%   -0.01%     
==========================================
  Files         400      400              
  Lines       38503    38520      +17     
  Branches     4316     4318       +2     
==========================================
+ Hits        34734    34749      +15     
  Misses       2477     2477              
- Partials     1292     1294       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sparql-conformance
Copy link

Copy link
Member

@joka921 joka921 left a comment

Choose a reason for hiding this comment

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

Thank you very much,
I have some suggestions and questions, feel free to answer and address them.

Comment on lines +516 to +518
}

auto update = visit(ctx->update1());
auto thisUpdate = visit(ctx->update1());
Copy link
Member

Choose a reason for hiding this comment

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

How easy is it to update this rule also to something non-recursive, s.t. the following code becomes a simple loop?
If feasible, please do so (for readability rather than efficiency, but still)

Copy link
Member Author

Choose a reason for hiding this comment

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

The rule only gets a bit longer, but then we'd need something like a reset() function for our state.

Copy link

sonarqubecloud bot commented Mar 4, 2025

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.

2 participants