René's URL Explorer Experiment


Title: Switch the IR pipeline to globally unique local names by Unisay · Pull Request #150 · purescript-lua/purescript-lua · GitHub

Open Graph Title: Switch the IR pipeline to globally unique local names by Unisay · Pull Request #150 · purescript-lua/purescript-lua

X Title: Switch the IR pipeline to globally unique local names by Unisay · Pull Request #150 · purescript-lua/purescript-lua

Description: Purescript compiler back-end for Lua. Contribute to purescript-lua/purescript-lua development by creating an account on GitHub.

Open Graph Description: Closes #139. The IR used to address locals by name plus a per-name De Bruijn index, and capture avoidance was index arithmetic spread over every traversal: substitute shifted replacements under sam...

X Description: Closes #139. The IR used to address locals by name plus a per-name De Bruijn index, and capture avoidance was index arithmetic spread over every traversal: substitute shifted replacements under sam...

Opengraph URL: https://github.com/purescript-lua/purescript-lua/pull/150

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:ddc6300c-55ae-5cf1-bff8-26e8f3314f14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD21E:BBAAA:C932A8:10AA71A:6B00F49B
html-safe-nonce07b0ddd0768fad687b016cd205512f1de95b491cfa07a23e1d044a9d9baef9f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFFOkJCQUFBOkM5MzJBODoxMEFBNzFBOjZCMDBGNDlCIiwidmlzaXRvcl9pZCI6Ijc1OTY2ODc5MDMzNzI3MDkzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac27d423d51a5eb69c0bcddb0b94c21a957aefa1a0a9080163634292d4388e9089
hovercard-subject-tagpull_request:3985870178
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/purescript-lua/purescript-lua/150/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2015b0796436c337364f777cdce00e264a985ecdb77154ca0ac0aa8496a69f14/purescript-lua/purescript-lua/pull/150
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2015b0796436c337364f777cdce00e264a985ecdb77154ca0ac0aa8496a69f14/purescript-lua/purescript-lua/pull/150
og:image:altCloses #139. The IR used to address locals by name plus a per-name De Bruijn index, and capture avoidance was index arithmetic spread over every traversal: substitute shifted replacements under sam...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameUnisay
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git
octolytics-dimension-user_id131581790
octolytics-dimension-user_loginpurescript-lua
octolytics-dimension-repository_id587200487
octolytics-dimension-repository_nwopurescript-lua/purescript-lua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id587200487
octolytics-dimension-repository_network_root_nwopurescript-lua/purescript-lua
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua/pull/150#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F150
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%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F150
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=purescript-lua%2Fpurescript-lua
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/150
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/150
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/150
purescript-luahttps://github.com/purescript-lua
purescript-luahttps://github.com/purescript-lua/purescript-lua
Codehttps://github.com/purescript-lua/purescript-lua
Issues48 (48)https://github.com/purescript-lua/purescript-lua/issues
Pull requestshttps://github.com/purescript-lua/purescript-lua/pulls
Discussionshttps://github.com/purescript-lua/purescript-lua/discussions
Actionshttps://github.com/purescript-lua/purescript-lua/actions
Projectshttps://github.com/purescript-lua/purescript-lua/projects
Security and qualityhttps://github.com/purescript-lua/purescript-lua/security
Insightshttps://github.com/purescript-lua/purescript-lua/insights
https://github.com/purescript-lua/purescript-lua
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-139/guc-unique-nameshttps://github.com/purescript-lua/purescript-lua/tree/issue-139/guc-unique-names
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/150
Commits14 (14)https://github.com/purescript-lua/purescript-lua/pull/150/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/150/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/150/files
Switch the IR pipeline to globally unique local nameshttps://github.com/purescript-lua/purescript-lua/pull/150#top
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-139/guc-unique-nameshttps://github.com/purescript-lua/purescript-lua/tree/issue-139/guc-unique-names
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 3, 2026https://github.com/purescript-lua/purescript-lua/pull/150#issue-4803297792
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
#139https://github.com/purescript-lua/purescript-lua/issues/139
#37https://github.com/purescript-lua/purescript-lua/issues/37
#56https://github.com/purescript-lua/purescript-lua/issues/56
#133https://github.com/purescript-lua/purescript-lua/issues/133
#134https://github.com/purescript-lua/purescript-lua/issues/134
#149https://github.com/purescript-lua/purescript-lua/pull/149
#136https://github.com/purescript-lua/purescript-lua/issues/136
#144https://github.com/purescript-lua/purescript-lua/issues/144
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
Unisayhttps://github.com/Unisay
July 3, 2026 10:45https://github.com/purescript-lua/purescript-lua/pull/150#commits-pushed-6cf4962
https://github.com/Unisay
feat: alpha-equivalence for IR terms, used by removeIfWithEqualBrancheshttps://github.com/purescript-lua/purescript-lua/pull/150/commits/6cf49621ccc94eadb628d6b5e01b93513c7717bd
6cf4962https://github.com/purescript-lua/purescript-lua/pull/150/commits/6cf49621ccc94eadb628d6b5e01b93513c7717bd
#139https://github.com/purescript-lua/purescript-lua/issues/139
https://github.com/Unisay
feat: UniqueBinders and IndicesZero invariants with linter checkshttps://github.com/purescript-lua/purescript-lua/pull/150/commits/4b73e6cec3b96f55f80b584b4e474b0a08275774
4b73e6chttps://github.com/purescript-lua/purescript-lua/pull/150/commits/4b73e6cec3b96f55f80b584b4e474b0a08275774
#139https://github.com/purescript-lua/purescript-lua/issues/139
https://github.com/Unisay
feat: uniquifyNames, the GUC-establishing entry pass (not yet wired)https://github.com/purescript-lua/purescript-lua/pull/150/commits/cf7e1821465d1167c7ababdd49e3915e9208693d
cf7e182https://github.com/purescript-lua/purescript-lua/pull/150/commits/cf7e1821465d1167c7ababdd49e3915e9208693d
https://github.com/Unisay
feat: switch the IR pipeline to globally unique local names (https://github.com/purescript-lua/purescript-lua/pull/150/commits/7b453343e9451190eecc0e0ca14d509c4329a1ba
#139https://github.com/purescript-lua/purescript-lua/issues/139
)https://github.com/purescript-lua/purescript-lua/pull/150/commits/7b453343e9451190eecc0e0ca14d509c4329a1ba
7b45334https://github.com/purescript-lua/purescript-lua/pull/150/commits/7b453343e9451190eecc0e0ca14d509c4329a1ba
https://github.com/Unisay
style: pay off fourmolu debt in two untouched moduleshttps://github.com/purescript-lua/purescript-lua/pull/150/commits/02d226e36b434a8d83ac2e60ee5fe2768ac237e3
02d226ehttps://github.com/purescript-lua/purescript-lua/pull/150/commits/02d226e36b434a8d83ac2e60ee5fe2768ac237e3
https://github.com/Unisay
chore: add tricorder to the dev shellhttps://github.com/purescript-lua/purescript-lua/pull/150/commits/55f5d79a74906815507a57832ddb531cd996bb64
55f5d79https://github.com/purescript-lua/purescript-lua/pull/150/commits/55f5d79a74906815507a57832ddb531cd996bb64
https://github.com/Unisay
test: direct coverage for the GUC substitution primitiveshttps://github.com/purescript-lua/purescript-lua/pull/150/commits/5fa34c8002f91b9459dcb22b68fd7eb0fe72c8ae
5fa34c8https://github.com/purescript-lua/purescript-lua/pull/150/commits/5fa34c8002f91b9459dcb22b68fd7eb0fe72c8ae
https://github.com/Unisay
docs: changelog fragment and Note walker-list completion forhttps://github.com/purescript-lua/purescript-lua/pull/150/commits/b927b93f3fadffb288835b89881b778891af2e7a
#139https://github.com/purescript-lua/purescript-lua/issues/139
b927b93https://github.com/purescript-lua/purescript-lua/pull/150/commits/b927b93f3fadffb288835b89881b778891af2e7a
https://github.com/Unisay
test: generate Let bindings in scopedExphttps://github.com/purescript-lua/purescript-lua/pull/150/commits/efa7c671626dc0ad52e65106cf0c48492f5147d4
efa7c67https://github.com/purescript-lua/purescript-lua/pull/150/commits/efa7c671626dc0ad52e65106cf0c48492f5147d4
https://github.com/Unisay
test: pin the GUC precondition and ensures-contract of DCEhttps://github.com/purescript-lua/purescript-lua/pull/150/commits/65ec020df04d0484b43691643cf6cbcd92f197e1
65ec020https://github.com/purescript-lua/purescript-lua/pull/150/commits/65ec020df04d0484b43691643cf6cbcd92f197e1
https://github.com/Unisay
refactor: extract renderPassCheckFailure for unit testinghttps://github.com/purescript-lua/purescript-lua/pull/150/commits/7100ec05b44a2224f392a6b7293de031bfd1e708
7100ec0https://github.com/purescript-lua/purescript-lua/pull/150/commits/7100ec05b44a2224f392a6b7293de031bfd1e708
https://github.com/Unisay
test: alphaEq symmetry propertyhttps://github.com/purescript-lua/purescript-lua/pull/150/commits/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6
67c29f4https://github.com/purescript-lua/purescript-lua/pull/150/commits/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 3, 2026 12:06https://github.com/purescript-lua/purescript-lua/pull/150#event-27527942350
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/f1d35366-6d91-41b2-acad-2c74a0703856
Unisayhttps://github.com/Unisay
July 3, 2026 12:06https://github.com/purescript-lua/purescript-lua/pull/150#event-27527965161
View session https://github.com/purescript-lua/purescript-lua/sessions/f1d35366-6d91-41b2-acad-2c74a0703856
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 3, 2026 https://github.com/purescript-lua/purescript-lua/pull/150#pullrequestreview-4625674773
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/150/files/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/150#pullrequestreview-4625674773
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
lib/Language/PureScript/Backend/IR/Linter.hshttps://github.com/purescript-lua/purescript-lua/pull/150/files/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6#diff-264d10c5a4ba000a7bb29051f94654ee58f4385168f828107ec14859df053b39
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
flake.nixhttps://github.com/purescript-lua/purescript-lua/pull/150/files/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6#diff-206b9ce276ab5971a2489d75eb1b12999d4bf3843b7988cbe8d687cfde61dea0
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 3, 2026https://github.com/purescript-lua/purescript-lua/pull/150#event-27528271157
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 3, 2026 12:16https://github.com/purescript-lua/purescript-lua/pull/150#event-27528299191
Unisayhttps://github.com/Unisay
July 3, 2026 14:18https://github.com/purescript-lua/purescript-lua/pull/150#commits-pushed-919cbde
https://github.com/Unisay
address copilot review on PRhttps://github.com/purescript-lua/purescript-lua/pull/150/commits/919cbde769bd84eecf65cc15f83277e3cf9607a1
#150https://github.com/purescript-lua/purescript-lua/pull/150
919cbdehttps://github.com/purescript-lua/purescript-lua/pull/150/commits/919cbde769bd84eecf65cc15f83277e3cf9607a1
#150 (comment)https://github.com/purescript-lua/purescript-lua/pull/150#discussion_r3519767600
https://github.com/Unisay
feat: remove the De Bruijn index from IR referenceshttps://github.com/purescript-lua/purescript-lua/pull/150/commits/a9277237600848963159c5736e3a134a1d51b916
a927723https://github.com/purescript-lua/purescript-lua/pull/150/commits/a9277237600848963159c5736e3a134a1d51b916
https://github.com/Unisay
Unisayhttps://github.com/Unisay
c6fe8e6https://github.com/purescript-lua/purescript-lua/commit/c6fe8e6615cf47311e9a1e102c815e1e83b58c86
Jul 3, 2026https://github.com/purescript-lua/purescript-lua/pull/150#event-27529771013
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 3, 2026 13:09https://github.com/purescript-lua/purescript-lua/pull/150#event-27530262759
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 4, 2026 https://github.com/purescript-lua/purescript-lua/pull/150#ref-issue-4797135394
inlineLocalBindings substitutes at index 0 for every Standalone grouping, wrong with same-name Let siblings #141 https://github.com/purescript-lua/purescript-lua/issues/141
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/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%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F150
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/purescript-lua/purescript-lua/pull/150/files/67c29f4f7b12bd27f6503cb7dcba82adfb0fb4c6
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
https://github.com/Unisay
Unisay https://github.com/Unisay
Design: globally unique local names (GUC) in the IR pipeline https://github.com/purescript-lua/purescript-lua/issues/139
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/150
https://github.com/Unisay
https://github.com/apps/copilot-pull-request-reviewer
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.