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

Extending HCTL syntax #19

Merged
merged 3 commits into from
Nov 7, 2024
Merged

Extending HCTL syntax #19

merged 3 commits into from
Nov 7, 2024

Conversation

ondrej33
Copy link
Member

@ondrej33 ondrej33 commented Nov 7, 2024

In this mini-PR, we are extending the supported HCTL syntax to allow specifying hybrid operators using their names (prefixed by a backslash): \bind, \jump, \exists, \forall. You can use this syntax to write a formula like \bind {x}: AG EF {x}.

This involved mainly changes in the tokenizer (including some additional refactoring). Note that the default for writing and serializing hybrid operators is still the original short format, and this new variant is just for convenience when writing formulas. No changes in public API were made.

Furthermore, we updated dependencies to biodivine libraries. We also fixed the outdated GitHub workflow.

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.55%. Comparing base (f47e8de) to head (c71446f).

Files with missing lines Patch % Lines
src/preprocessing/tokenizer.rs 87.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   87.32%   87.55%   +0.23%     
==========================================
  Files          26       26              
  Lines         907      908       +1     
==========================================
+ Hits          792      795       +3     
+ Misses        115      113       -2     

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

@ondrej33 ondrej33 merged commit e49acf2 into master Nov 7, 2024
12 checks passed
@ondrej33 ondrej33 deleted the syntax_update branch November 7, 2024 17:47
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.

1 participant