-
Notifications
You must be signed in to change notification settings - Fork 26
Unified Macro Definitions #83
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
Merged
vaivaswatha
merged 30 commits into
vaivaswatha:master
from
rahulmutt:rahulmutt/unified-macro-definitions
Feb 13, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8b46ffe
Initial setup for pliron macros
rahulmutt 55cee67
Fix proc_macro/proc_macro2 errors
rahulmutt 67ded2e
Reverse order
rahulmutt 9adcaa5
Support default format
rahulmutt 16e29d0
Add fully qualified paths
rahulmutt ead8491
Fix optional format
rahulmutt ea90252
Tests passing
rahulmutt 8696329
Formatting
rahulmutt d60e2b5
Update to use pliron_op
rahulmutt da3e9a9
Support generics
rahulmutt 8364049
Update builtin types
rahulmutt ba32194
support attr_get_set
rahulmutt 39ff073
Update with new attributes field
rahulmutt e5995a5
Add docs and validation for certain entity fields
rahulmutt a093ce1
Remove space from expect
rahulmutt b3eb85e
Use UFCS for derive impl
rahulmutt 2f705e1
Update tests/rewriter.rs
rahulmutt 3f4ac36
Update tests/common/mod.rs
rahulmutt 6051831
Migrate tests/interfaces.rs
rahulmutt 2a45798
Migrate src/type.rs
rahulmutt 6749c6b
Migrate src/debug_info.rs
rahulmutt 55f601f
Migrate ir_construct
rahulmutt 54e3f8a
Support attributes w/o type signature
rahulmutt d92b052
Update test
rahulmutt b101bbc
Migrate llvm ops
rahulmutt 3c76ae0
Migrate types
rahulmutt 2f7485c
Update llvm attributes and fix bug in generating succ verifiers for e…
rahulmutt bee58ca
interfaces are not supported for type and attribute
rahulmutt e8d6a5b
Require comma separation with support for trailing commas
rahulmutt 5b123d0
Update rest of files with comma mandate
rahulmutt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Highlighting this as this also improves UX by not forcing users to import
::pliron::op::Op, or any of the other entity traits and keeps the macro generated code explicit.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I did encounter this myself, but without a second though just added the import. This makes it much better for new users.