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: move logic specific to the MLIR grammar from lexer to mlir_lexer #3591

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

superlopuh
Copy link
Member

This decouples the base lexing infrastructure from MLIR's syntax allowing us to to reuse it for other grammars, such as Toy, WASM, Stim, and other downstream projects.

@superlopuh superlopuh self-assigned this Dec 8, 2024
@superlopuh superlopuh added the core xDSL core (ir, textual format, ...) label Dec 8, 2024
Copy link

codecov bot commented Dec 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.38%. Comparing base (4bbeecb) to head (cd2a709).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3591      +/-   ##
==========================================
- Coverage   90.38%   90.38%   -0.01%     
==========================================
  Files         469      470       +1     
  Lines       59075    59095      +20     
  Branches     5615     5615              
==========================================
+ Hits        53397    53415      +18     
- Misses       4232     4233       +1     
- Partials     1446     1447       +1     

☔ 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.

Can you please rewrite Kind to TokenKind

@superlopuh superlopuh merged commit de40dd5 into main Dec 9, 2024
15 checks passed
@superlopuh superlopuh deleted the sasha/parser/mlir-token-kind branch December 9, 2024 16:26
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.

3 participants