René's URL Explorer Experiment


Title: Macro for defining opcode & instruction enums by ShaharNaveh · Pull Request #7573 · RustPython/RustPython · GitHub

Open Graph Title: Macro for defining opcode & instruction enums by ShaharNaveh · Pull Request #7573 · RustPython/RustPython

X Title: Macro for defining opcode & instruction enums by ShaharNaveh · Pull Request #7573 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: This macro will generate an Instruction and a Opcode enum, all within rust, no external python scripts with custom config in toml or something. I'd love to hear what you guys think:) Summary b...

X Description: This macro will generate an Instruction and a Opcode enum, all within rust, no external python scripts with custom config in toml or something. I'd love to hear what you guys think:) Summa...

Opengraph URL: https://github.com/RustPython/RustPython/pull/7573

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:eca5d64f-6bbe-7907-6006-4ae0f5c5a7f9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC5E:277ED1:4F63BAD:67D7CB7:6A5D746B
html-safe-nonce4f5a6f53332d80e67a07f1b533bf3c234b043762d9fd1c6ebff5e2e6122c9caa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzVFOjI3N0VEMTo0RjYzQkFEOjY3RDdDQjc6NkE1RDc0NkIiLCJ2aXNpdG9yX2lkIjoiMjA5Nzc3Mjg5OTQzNjY4ODQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac32c2f77420fb39952d925d8a5afc45546775bfb2b20b3ebff4d547955490c3c9
hovercard-subject-tagpull_request:3509767016
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/7573/commits
twitter:imagehttps://opengraph.githubassets.com/527bb64c24a565e10b8a62ec2f0de464e09d9ce868936dcb082cc42c25c8fd6b/RustPython/RustPython/pull/7573
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/527bb64c24a565e10b8a62ec2f0de464e09d9ce868936dcb082cc42c25c8fd6b/RustPython/RustPython/pull/7573
og:image:altThis macro will generate an Instruction and a Opcode enum, all within rust, no external python scripts with custom config in toml or something. I'd love to hear what you guys think:) Summary b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameShaharNaveh
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7573/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7573%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7573%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/7573/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7573/commits
Reloadhttps://github.com/RustPython/RustPython/pull/7573/commits
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7573/commits
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 293 https://github.com/RustPython/RustPython/issues
Pull requests 103 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects https://github.com/RustPython/RustPython/projects
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
ShaharNaveh:bytecode-instr-super-macrohttps://github.com/ShaharNaveh/RustPython/tree/bytecode-instr-super-macro
Conversationhttps://github.com/RustPython/RustPython/pull/7573
Commits23 (23)https://github.com/RustPython/RustPython/pull/7573/commits
Checkshttps://github.com/RustPython/RustPython/pull/7573/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7573/files
Macro for defining opcode & instruction enumshttps://github.com/RustPython/RustPython/pull/7573/commits#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
ShaharNaveh:bytecode-instr-super-macrohttps://github.com/ShaharNaveh/RustPython/tree/bytecode-instr-super-macro
Macro for defining opcode & instruction enumshttps://github.com/RustPython/RustPython/pull/7573/commits/61a2db139fd5276d0a2b73dac9e74d6948c9c1a0
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
61a2db1https://github.com/RustPython/RustPython/pull/7573/commits/61a2db139fd5276d0a2b73dac9e74d6948c9c1a0
https://github.com/RustPython/RustPython/tree/61a2db139fd5276d0a2b73dac9e74d6948c9c1a0
Convert `Instruction` as wellhttps://github.com/RustPython/RustPython/pull/7573/commits/9772ca3850b4a428ecea703419165bf1a440a88f
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
9772ca3https://github.com/RustPython/RustPython/pull/7573/commits/9772ca3850b4a428ecea703419165bf1a440a88f
https://github.com/RustPython/RustPython/tree/9772ca3850b4a428ecea703419165bf1a440a88f
revert `#[repr(...)]` changeshttps://github.com/RustPython/RustPython/pull/7573/commits/617021431afe5f01f16bc545cb2a8d38afc7f13f
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
6170214https://github.com/RustPython/RustPython/pull/7573/commits/617021431afe5f01f16bc545cb2a8d38afc7f13f
https://github.com/RustPython/RustPython/tree/617021431afe5f01f16bc545cb2a8d38afc7f13f
fmthttps://github.com/RustPython/RustPython/pull/7573/commits/769e9b6f460b79f0d4a85d146d33ee9158cf3936
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
769e9b6https://github.com/RustPython/RustPython/pull/7573/commits/769e9b6f460b79f0d4a85d146d33ee9158cf3936
https://github.com/RustPython/RustPython/tree/769e9b6f460b79f0d4a85d146d33ee9158cf3936
Align real opcodeshttps://github.com/RustPython/RustPython/pull/7573/commits/9f629ce321bb679cc8ce9cfe715c38f25a89ea3b
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
9f629cehttps://github.com/RustPython/RustPython/pull/7573/commits/9f629ce321bb679cc8ce9cfe715c38f25a89ea3b
https://github.com/RustPython/RustPython/tree/9f629ce321bb679cc8ce9cfe715c38f25a89ea3b
Align pseudo opcodeshttps://github.com/RustPython/RustPython/pull/7573/commits/c4caae23c2e00a510ef5179a929b94ef33323535
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
c4caae2https://github.com/RustPython/RustPython/pull/7573/commits/c4caae23c2e00a510ef5179a929b94ef33323535
https://github.com/RustPython/RustPython/tree/c4caae23c2e00a510ef5179a929b94ef33323535
const `Opcode.name()` methodhttps://github.com/RustPython/RustPython/pull/7573/commits/93c38d8f96eaa1f8afbfb1c43d0f9328d5bf8f69
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
93c38d8https://github.com/RustPython/RustPython/pull/7573/commits/93c38d8f96eaa1f8afbfb1c43d0f9328d5bf8f69
https://github.com/RustPython/RustPython/tree/93c38d8f96eaa1f8afbfb1c43d0f9328d5bf8f69
Add docs to methodshttps://github.com/RustPython/RustPython/pull/7573/commits/048515b9ac2bb29e752f4cd9162df7bafa799974
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
048515bhttps://github.com/RustPython/RustPython/pull/7573/commits/048515b9ac2bb29e752f4cd9162df7bafa799974
https://github.com/RustPython/RustPython/tree/048515b9ac2bb29e752f4cd9162df7bafa799974
Adjust `scripts/generate_opcode_metadata.py` to new macrohttps://github.com/RustPython/RustPython/pull/7573/commits/5b40098937b7eb69d54c083d2e7b79ea051ddc7d
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
5b40098https://github.com/RustPython/RustPython/pull/7573/commits/5b40098937b7eb69d54c083d2e7b79ea051ddc7d
https://github.com/RustPython/RustPython/tree/5b40098937b7eb69d54c083d2e7b79ea051ddc7d
nithttps://github.com/RustPython/RustPython/pull/7573/commits/97918589c685a6ea83abbf6ab64598486136dcd3
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
9791858https://github.com/RustPython/RustPython/pull/7573/commits/97918589c685a6ea83abbf6ab64598486136dcd3
https://github.com/RustPython/RustPython/tree/97918589c685a6ea83abbf6ab64598486136dcd3
Add `AnyOpcode` enumhttps://github.com/RustPython/RustPython/pull/7573/commits/f6fb58da5484c4c3661e265fc88083edc11e6208
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
f6fb58dhttps://github.com/RustPython/RustPython/pull/7573/commits/f6fb58da5484c4c3661e265fc88083edc11e6208
https://github.com/RustPython/RustPython/tree/f6fb58da5484c4c3661e265fc88083edc11e6208
Add impls for `AnyOpcode`https://github.com/RustPython/RustPython/pull/7573/commits/ac9844b14cceb2a28331117926e74dad6c025cf3
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
ac9844bhttps://github.com/RustPython/RustPython/pull/7573/commits/ac9844b14cceb2a28331117926e74dad6c025cf3
https://github.com/RustPython/RustPython/tree/ac9844b14cceb2a28331117926e74dad6c025cf3
Use `AnyOpcode`https://github.com/RustPython/RustPython/pull/7573/commits/8274ffeca9d23113050c34465d90a7bbed5e1535
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
8274ffehttps://github.com/RustPython/RustPython/pull/7573/commits/8274ffeca9d23113050c34465d90a7bbed5e1535
https://github.com/RustPython/RustPython/tree/8274ffeca9d23113050c34465d90a7bbed5e1535
Cleanup morehttps://github.com/RustPython/RustPython/pull/7573/commits/64d722e62a8c45149661092628f1ac267ddbd630
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
64d722ehttps://github.com/RustPython/RustPython/pull/7573/commits/64d722e62a8c45149661092628f1ac267ddbd630
https://github.com/RustPython/RustPython/tree/64d722e62a8c45149661092628f1ac267ddbd630
Cleanup `_opcode.rs`https://github.com/RustPython/RustPython/pull/7573/commits/d7b9dbb349b0689416780c3e78cbb78f8b6db6cb
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
d7b9dbbhttps://github.com/RustPython/RustPython/pull/7573/commits/d7b9dbb349b0689416780c3e78cbb78f8b6db6cb
https://github.com/RustPython/RustPython/tree/d7b9dbb349b0689416780c3e78cbb78f8b6db6cb
clippyhttps://github.com/RustPython/RustPython/pull/7573/commits/0adcd507140d896ce6dbdb8e7f19b5e276e9093a
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
0adcd50https://github.com/RustPython/RustPython/pull/7573/commits/0adcd507140d896ce6dbdb8e7f19b5e276e9093a
https://github.com/RustPython/RustPython/tree/0adcd507140d896ce6dbdb8e7f19b5e276e9093a
Cleanup morehttps://github.com/RustPython/RustPython/pull/7573/commits/06021c9668269d9bec1940eca1c2745f73045f98
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
06021c9https://github.com/RustPython/RustPython/pull/7573/commits/06021c9668269d9bec1940eca1c2745f73045f98
https://github.com/RustPython/RustPython/tree/06021c9668269d9bec1940eca1c2745f73045f98
more cleanuphttps://github.com/RustPython/RustPython/pull/7573/commits/f5fb54dee259f1d1df7a2605bffb0d312e42460e
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
f5fb54dhttps://github.com/RustPython/RustPython/pull/7573/commits/f5fb54dee259f1d1df7a2605bffb0d312e42460e
https://github.com/RustPython/RustPython/tree/f5fb54dee259f1d1df7a2605bffb0d312e42460e
More cleanuphttps://github.com/RustPython/RustPython/pull/7573/commits/5cd47aaec4a0e4dd8888db4aeee2249cdf1ab4ea
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
5cd47aahttps://github.com/RustPython/RustPython/pull/7573/commits/5cd47aaec4a0e4dd8888db4aeee2249cdf1ab4ea
https://github.com/RustPython/RustPython/tree/5cd47aaec4a0e4dd8888db4aeee2249cdf1ab4ea
more cleanuphttps://github.com/RustPython/RustPython/pull/7573/commits/c96f81ee4f75c7d9c809a0c94758d74b7683f593
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
c96f81ehttps://github.com/RustPython/RustPython/pull/7573/commits/c96f81ee4f75c7d9c809a0c94758d74b7683f593
https://github.com/RustPython/RustPython/tree/c96f81ee4f75c7d9c809a0c94758d74b7683f593
morehttps://github.com/RustPython/RustPython/pull/7573/commits/aef533b941ff085ad121a538e8a03a81bca2311e
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
aef533bhttps://github.com/RustPython/RustPython/pull/7573/commits/aef533b941ff085ad121a538e8a03a81bca2311e
https://github.com/RustPython/RustPython/tree/aef533b941ff085ad121a538e8a03a81bca2311e
More cleanupshttps://github.com/RustPython/RustPython/pull/7573/commits/cd7e46e5e8432f734d74256ae8fe8ad4a64609c5
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
cd7e46ehttps://github.com/RustPython/RustPython/pull/7573/commits/cd7e46e5e8432f734d74256ae8fe8ad4a64609c5
https://github.com/RustPython/RustPython/tree/cd7e46e5e8432f734d74256ae8fe8ad4a64609c5
More cleanuphttps://github.com/RustPython/RustPython/pull/7573/commits/c0c1218869e59303eb37374f3315816a1295567f
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/RustPython/RustPython/commits?author=ShaharNaveh
c0c1218https://github.com/RustPython/RustPython/pull/7573/commits/c0c1218869e59303eb37374f3315816a1295567f
https://github.com/RustPython/RustPython/tree/c0c1218869e59303eb37374f3315816a1295567f
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.