-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
GH-98831: Add macro and op and their implementation to DSL
#99495
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
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7fb598a
Add macro() and op() DSL features
gvanrossum edae5af
Improve code generation for super/macro instructions
gvanrossum 881357e
Move super code generation into a helper
gvanrossum 0f12c40
Reduce the fiddling with integers in super analysis
gvanrossum babdbf9
Do the super/macro analysis at analysis time
gvanrossum 2fa0a04
Convert WITH_EXCEPT_START, fix generator to make it work
gvanrossum cb0c874
Fix lexer to balk at unrecognized characters, e.g. '@'
gvanrossum fe0d336
Fix typo in comment
gvanrossum d84a5c3
Code review from GH-99526
gvanrossum d7ad950
Fix moved output names; support object pointers in cache
gvanrossum a034675
Tune README
gvanrossum 1aafac8
Introduce error() method to print errors
gvanrossum 20062f4
Check components of super/macro ops
gvanrossum 7194723
Fix crash when WITH_EXCEPT_START errors out
gvanrossum cb62653
Merge branch 'main' into macro-ops
gvanrossum b74aa6a
Don't use typing.Dict
gvanrossum a0feff9
Kill more "unused" literals
gvanrossum a2e9991
Don't over-use f-strings
gvanrossum 240126b
Avoid compiler warning on unused variable
gvanrossum 6640706
Merge remote-tracking branch 'origin/main' into macro-ops
gvanrossum 7afa58c
Introduce read_uint16(p) as equivalent to *p
gvanrossum 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
Fix moved output names; support object pointers in cache
- Loading branch information
commit d7ad95004375a146c050e2dfbb28ea1452d7f0f9
There are no files selected for viewing
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
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.
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.
Eh, should we just add a
read_u16function to keep things simple? They're not really special anymore now that we've ditched the structs, and we've shown that it would compile the same.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.
Oh, good idea. Will do.