René's URL Explorer Experiment


Title: token stream expander by danmar · Pull Request #758 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: token stream expander by danmar · Pull Request #758 · cppcheck-opensource/simplecpp

X Title: token stream expander by danmar · Pull Request #758 · cppcheck-opensource/simplecpp

Description: C++ preprocessor. Contribute to cppcheck-opensource/simplecpp development by creating an account on GitHub.

Open Graph Description: It is based on TokenStreamExpander and on the f(f)(1) result I checked against gcc earlier. I did not trace the longer DEFER/EXPAND example, so the description only states its result. The algorithm...

X Description: It is based on TokenStreamExpander and on the f(f)(1) result I checked against gcc earlier. I did not trace the longer DEFER/EXPAND example, so the description only states its result. The algorithm...

Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/758

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:31a87730-4f0d-266e-efe1-765cbfb705f0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idADE6:321CE2:1FAAD7:2BE1AD:6AFC4A86
html-safe-nonce4b983cc7ab73e17636dad457b2c71b12afdc1ef8c5ca68561ba1d6a319c36a9b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREU2OjMyMUNFMjoxRkFBRDc6MkJFMUFEOjZBRkM0QTg2IiwidmlzaXRvcl9pZCI6IjgxMTk0NzAzNDQ0MTE4MjY4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacda88f89fc8247e095ecccf69d604802349c0e0cddf97c5b746a63dc3624e6ad4
hovercard-subject-tagpull_request:5267935767
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/simplecpp/758/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9880c6cc833547df5807bff9570a526af0ee6a7a903f2b67fe3677c15f180e1c/cppcheck-opensource/simplecpp/pull/758
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9880c6cc833547df5807bff9570a526af0ee6a7a903f2b67fe3677c15f180e1c/cppcheck-opensource/simplecpp/pull/758
og:image:altIt is based on TokenStreamExpander and on the f(f)(1) result I checked against gcc earlier. I did not trace the longer DEFER/EXPAND example, so the description only states its result. The algorithm...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanmar
hostnamegithub.com
expected-hostnamegithub.com
None20dfdada12bc00bbf8065dc10dfe3ff3711b85db5cc117f83296f8074e861960
turbo-cache-controlno-cache
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
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
release041909865f220ab51714e7efdc276dd349a99ade
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/758#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F758
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F758
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/758
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/758
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/758
cppcheck-opensourcehttps://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Codehttps://github.com/cppcheck-opensource/simplecpp
Issues86 (86)https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests36 (36)https://github.com/cppcheck-opensource/simplecpp/pulls
Actionshttps://github.com/cppcheck-opensource/simplecpp/actions
Wikihttps://github.com/cppcheck-opensource/simplecpp/wiki
Security and qualityhttps://github.com/cppcheck-opensource/simplecpp/security
Insightshttps://github.com/cppcheck-opensource/simplecpp/pulse
https://github.com/cppcheck-opensource/simplecpp
danmarhttps://github.com/danmar
masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
pr-token-stream-expanderhttps://github.com/cppcheck-opensource/simplecpp/tree/pr-token-stream-expander
Conversationhttps://github.com/cppcheck-opensource/simplecpp/pull/758
Commits4 (4)https://github.com/cppcheck-opensource/simplecpp/pull/758/commits
Checkshttps://github.com/cppcheck-opensource/simplecpp/pull/758/checks
Files changedhttps://github.com/cppcheck-opensource/simplecpp/pull/758/files
token stream expanderhttps://github.com/cppcheck-opensource/simplecpp/pull/758#top
danmarhttps://github.com/danmar
masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
pr-token-stream-expanderhttps://github.com/cppcheck-opensource/simplecpp/tree/pr-token-stream-expander
https://github.com/danmar
danmarhttps://github.com/danmar
Nov 11, 2026https://github.com/cppcheck-opensource/simplecpp/pull/758#issue-6338568282
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
#742https://github.com/cppcheck-opensource/simplecpp/issues/742
#742https://github.com/cppcheck-opensource/simplecpp/issues/742
#742https://github.com/cppcheck-opensource/simplecpp/issues/742
#226https://github.com/cppcheck-opensource/simplecpp/issues/226
#259https://github.com/cppcheck-opensource/simplecpp/issues/259
#378https://github.com/cppcheck-opensource/simplecpp/issues/378
#394https://github.com/cppcheck-opensource/simplecpp/issues/394
#458https://github.com/cppcheck-opensource/simplecpp/issues/458
#469https://github.com/cppcheck-opensource/simplecpp/issues/469
#491https://github.com/cppcheck-opensource/simplecpp/issues/491
#656https://github.com/cppcheck-opensource/simplecpp/issues/656
#226https://github.com/cppcheck-opensource/simplecpp/issues/226
#259https://github.com/cppcheck-opensource/simplecpp/issues/259
#378https://github.com/cppcheck-opensource/simplecpp/issues/378
#394https://github.com/cppcheck-opensource/simplecpp/issues/394
#458https://github.com/cppcheck-opensource/simplecpp/issues/458
#469https://github.com/cppcheck-opensource/simplecpp/issues/469
#491https://github.com/cppcheck-opensource/simplecpp/issues/491
#656https://github.com/cppcheck-opensource/simplecpp/issues/656
#742https://github.com/cppcheck-opensource/simplecpp/issues/742
defined() not recognizing ## token paste in its operand (GNU extension) #653https://github.com/cppcheck-opensource/simplecpp/issues/653
token pasting with "defined" works with gcc (cpp) but not simplecpp #218https://github.com/cppcheck-opensource/simplecpp/issues/218
Invalid ## usage when expanding  #300https://github.com/cppcheck-opensource/simplecpp/issues/300
handling of defined() conditions nested in function like macros #75https://github.com/cppcheck-opensource/simplecpp/issues/75
Do not abort when there is #ifdef in macro expansion list #572https://github.com/cppcheck-opensource/simplecpp/issues/572
Token pasting/concatenation with ## leads to invalid result #373https://github.com/cppcheck-opensource/simplecpp/issues/373
fuzzing crash (stack-overflow) in simplecpp::Macro::expandToken() #662https://github.com/cppcheck-opensource/simplecpp/issues/662
fuzzing crash in Macro::expandToken() #414https://github.com/cppcheck-opensource/simplecpp/issues/414
failed to expand BOOST_MPL_AUX_NA_SPEC, Wrong number of parameters for macro BOOST_PP_TUPLE_ELEM #159https://github.com/cppcheck-opensource/simplecpp/issues/159
simplecpp chokes on clang/master/INPUTS/stpcpy-test.c #96https://github.com/cppcheck-opensource/simplecpp/issues/96
# in macro left in original location #491https://github.com/cppcheck-opensource/simplecpp/issues/491
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
https://github.com/dmcppcheck
https://github.com/claude
Add tests for macro expansionhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/03edd42c7e77fe6e563e2af97c84e8cce5a8a882
03edd42https://github.com/cppcheck-opensource/simplecpp/pull/758/commits/03edd42c7e77fe6e563e2af97c84e8cce5a8a882
https://github.com/danmar
danmarhttps://github.com/danmar
Nov 11, 2026 https://github.com/cppcheck-opensource/simplecpp/pull/758#ref-pullrequest-6270770285
Fix #742 (Add a macro expander that uses hide sets) #743 https://github.com/cppcheck-opensource/simplecpp/pull/743
https://github.com/danmar
danmarhttps://github.com/danmar
force-pushedhttps://github.com/cppcheck-opensource/simplecpp/compare/7fbc39d5d1ac070ea13246d3154792be7061690b..87a51e7edca89b67f4591457d3a1946567aafb5e
7fbc39dhttps://github.com/cppcheck-opensource/simplecpp/commit/7fbc39d5d1ac070ea13246d3154792be7061690b
87a51e7https://github.com/cppcheck-opensource/simplecpp/commit/87a51e7edca89b67f4591457d3a1946567aafb5e
Compare https://github.com/cppcheck-opensource/simplecpp/compare/7fbc39d5d1ac070ea13246d3154792be7061690b..87a51e7edca89b67f4591457d3a1946567aafb5e
November 11, 2026 23:01https://github.com/cppcheck-opensource/simplecpp/pull/758#event-35852090489
dmcppcheckhttps://github.com/dmcppcheck
November 12, 2026 00:03https://github.com/cppcheck-opensource/simplecpp/pull/758#commits-pushed-7a7889b
https://github.com/dmcppcheck
https://github.com/claude
Add TokenStreamExpander, a macro expansion with a token streamhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/7a7889b8a2d9b4ae527b51e531412d8f04cd8770
7a7889bhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/7a7889b8a2d9b4ae527b51e531412d8f04cd8770
https://github.com/dmcppcheck
https://github.com/claude
Use TokenStreamExpander for macro expansionhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/3d82c3e7bbf4b744054611a3d82f8500bcbcf8f2
3d82c3ehttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/3d82c3e7bbf4b744054611a3d82f8500bcbcf8f2
https://github.com/dmcppcheck
https://github.com/claude
Remove the old macro expansionhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/e9fd2ad747011d0277ee1e1625a851df64aec135
e9fd2adhttps://github.com/cppcheck-opensource/simplecpp/pull/758/commits/e9fd2ad747011d0277ee1e1625a851df64aec135
https://github.com/danmar
danmarhttps://github.com/danmar
force-pushedhttps://github.com/cppcheck-opensource/simplecpp/compare/87a51e7edca89b67f4591457d3a1946567aafb5e..e9fd2ad747011d0277ee1e1625a851df64aec135
87a51e7https://github.com/cppcheck-opensource/simplecpp/commit/87a51e7edca89b67f4591457d3a1946567aafb5e
e9fd2adhttps://github.com/cppcheck-opensource/simplecpp/commit/e9fd2ad747011d0277ee1e1625a851df64aec135
Compare https://github.com/cppcheck-opensource/simplecpp/compare/87a51e7edca89b67f4591457d3a1946567aafb5e..e9fd2ad747011d0277ee1e1625a851df64aec135
November 11, 2026 23:04https://github.com/cppcheck-opensource/simplecpp/pull/758#event-35852370972
https://github.com/danmar
danmarhttps://github.com/danmar
Nov 11, 2026https://github.com/cppcheck-opensource/simplecpp/pull/758#event-35852447804
https://github.com/danmar
danmarhttps://github.com/danmar
Nov 11, 2026https://github.com/cppcheck-opensource/simplecpp/pull/758#issuecomment-6809398049
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
https://github.com/danmar
danmarhttps://github.com/danmar
November 11, 2026 23:14https://github.com/cppcheck-opensource/simplecpp/pull/758#event-35853045984
https://github.com/danmar
danmarhttps://github.com/danmar
November 15, 2026 11:50https://github.com/cppcheck-opensource/simplecpp/pull/758#event-36187365072
https://github.com/danmar
danmarhttps://github.com/danmar
Nov 15, 2026 https://github.com/cppcheck-opensource/simplecpp/pull/758#ref-pullrequest-6210243767
Rescan substituted macro arguments so deferred calls expand like gcc #713 https://github.com/cppcheck-opensource/simplecpp/pull/713
https://github.com/dmcppcheck
dmcppcheckhttps://github.com/dmcppcheck
Nov 15, 2026 https://github.com/cppcheck-opensource/simplecpp/pull/758#pullrequestreview-5910732529
View reviewed changes https://github.com/cppcheck-opensource/simplecpp/pull/758/files/e9fd2ad747011d0277ee1e1625a851df64aec135
dmcppcheckhttps://github.com/dmcppcheck
https://github.com/cppcheck-opensource/simplecpp/pull/758#pullrequestreview-5910732529
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
e9fd2adhttps://github.com/cppcheck-opensource/simplecpp/commit/e9fd2ad747011d0277ee1e1625a851df64aec135
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
simplecpp.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/758/files/e9fd2ad747011d0277ee1e1625a851df64aec135#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
dmcppcheckhttps://github.com/dmcppcheck
Nov 15, 2026https://github.com/cppcheck-opensource/simplecpp/pull/758#discussion_r4578390316
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
https://github.com/danmar
danmarhttps://github.com/danmar
November 17, 2026 07:15https://github.com/cppcheck-opensource/simplecpp/pull/758#event-36375803369
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F758
https://github.com/dmcppcheck
dmcppcheck https://github.com/dmcppcheck
https://github.com/cppcheck-opensource/simplecpp/pull/758/files/e9fd2ad747011d0277ee1e1625a851df64aec135
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
EVAL(...) not working https://github.com/cppcheck-opensource/simplecpp/issues/226
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/758
https://github.com/danmar
https://github.com/dmcppcheck
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.