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

core: Add checks on chaining variadics in declarative assembly format. #2106

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

PapyChacal
Copy link
Collaborator

Just adding more checks and tests for variadics in the declarative assembly format; for example, don't chain multiple variadic type directives; they need a separator for the parser to know when the first ends.

@PapyChacal PapyChacal added the core xDSL core (ir, textual format, ...) label Feb 6, 2024
@PapyChacal PapyChacal requested a review from math-fehr February 6, 2024 20:30
@PapyChacal PapyChacal self-assigned this Feb 6, 2024
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.48%. Comparing base (424dec7) to head (7feedf7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2106   +/-   ##
=======================================
  Coverage   89.47%   89.48%           
=======================================
  Files         326      326           
  Lines       38838    38873   +35     
  Branches     5747     5754    +7     
=======================================
+ Hits        34752    34787   +35     
  Misses       3288     3288           
  Partials      798      798           

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

Copy link
Collaborator

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

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

Nice!

@PapyChacal PapyChacal marked this pull request as ready for review February 22, 2024 17:39
@PapyChacal PapyChacal requested a review from math-fehr February 22, 2024 17:40
Copy link
Collaborator

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

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

Nice!

xdsl/irdl/declarative_assembly_format.py Outdated Show resolved Hide resolved
@PapyChacal PapyChacal merged commit 51461d6 into main Feb 23, 2024
10 checks passed
@PapyChacal PapyChacal deleted the emilien/declarative-verify branch February 23, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core xDSL core (ir, textual format, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants