René's URL Explorer Experiment


Title: feat: lift the pure subset of foreign values into IR primops (#178) by Unisay · Pull Request #210 · purescript-lua/purescript-lua · GitHub

Open Graph Title: feat: lift the pure subset of foreign values into IR primops (#178) by Unisay · Pull Request #210 · purescript-lua/purescript-lua

X Title: feat: lift the pure subset of foreign values into IR primops (#178) by Unisay · Pull Request #210 · 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 #178. Builds on the foreign parser (#173) and case-of-known-constructor (#177); unblocks the dictionary-method inlining of #180. What Polymorphic hot code bottoms out in opaque curried forei...

X Description: Closes #178. Builds on the foreign parser (#173) and case-of-known-constructor (#177); unblocks the dictionary-method inlining of #180. What Polymorphic hot code bottoms out in opaque curried forei...

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

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/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:5e8046b3-3ef0-31bf-d88e-5c89e3bd4699
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8094:3A4875:7F105E:AAD3A2:6B00DF43
html-safe-nonceaa87314a6a11424a8e350c38bc9b183eb0b954dbab9b44b12307758525080c8b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDk0OjNBNDg3NTo3RjEwNUU6QUFEM0EyOjZCMDBERjQzIiwidmlzaXRvcl9pZCI6IjE0MTUwMzE4NDU2Njk2MjU2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb23b410a0fecd3123219c69b978c9fae4e8ea3222b3c27b905c72338d6c00e67
hovercard-subject-tagpull_request:4014053146
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
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua/pull/210
twitter:imagehttps://opengraph.githubassets.com/0ddbb021a00990f005fd9a189869d8151b724dfc42fafc616138d9d917ce9e15/purescript-lua/purescript-lua/pull/210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0ddbb021a00990f005fd9a189869d8151b724dfc42fafc616138d9d917ce9e15/purescript-lua/purescript-lua/pull/210
og:image:altCloses #178. Builds on the foreign parser (#173) and case-of-known-constructor (#177); unblocks the dictionary-method inlining of #180. What Polymorphic hot code bottoms out in opaque curried forei...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameUnisay
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
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
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua/pull/210#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F210
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%2F210
Sign uphttps://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&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/210
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/210
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/210
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-178/foreign-lift-primopshttps://github.com/purescript-lua/purescript-lua/tree/issue-178/foreign-lift-primops
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/210
Commits6 (6)https://github.com/purescript-lua/purescript-lua/pull/210/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/210/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/210/files
feat: lift the pure subset of foreign values into IR primops (#178)https://github.com/purescript-lua/purescript-lua/pull/210#top
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-178/foreign-lift-primopshttps://github.com/purescript-lua/purescript-lua/tree/issue-178/foreign-lift-primops
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/210#issue-4837027461
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
#178https://github.com/purescript-lua/purescript-lua/issues/178
#173https://github.com/purescript-lua/purescript-lua/issues/173
#177https://github.com/purescript-lua/purescript-lua/issues/177
#180https://github.com/purescript-lua/purescript-lua/issues/180
#173https://github.com/purescript-lua/purescript-lua/issues/173
Fold ReflectCtor and DataArgumentByIndex over known constructor applications (case-of-known-constructor) #177https://github.com/purescript-lua/purescript-lua/issues/177
#178https://github.com/purescript-lua/purescript-lua/issues/178
#180https://github.com/purescript-lua/purescript-lua/issues/180
#180https://github.com/purescript-lua/purescript-lua/issues/180
#211https://github.com/purescript-lua/purescript-lua/issues/211
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
Unisayhttps://github.com/Unisay
July 8, 2026 13:26https://github.com/purescript-lua/purescript-lua/pull/210#commits-pushed-9f66190
https://github.com/Unisay
feat: lift the pure subset of foreign values into IR primops (https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a
#178https://github.com/purescript-lua/purescript-lua/issues/178
)https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a
9f66190https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a
#173https://github.com/purescript-lua/purescript-lua/issues/173
#177https://github.com/purescript-lua/purescript-lua/issues/177
https://github.com/Unisay
test: primop folding, foreign lifter, and golden coverage (https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076
#178https://github.com/purescript-lua/purescript-lua/issues/178
)https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076
092dda0https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 8, 2026 11:40https://github.com/purescript-lua/purescript-lua/pull/210#event-27712825761
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/210#event-27712826464
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/69a394e8-3839-44c5-96e9-ec35726cd311
Unisayhttps://github.com/Unisay
July 8, 2026 11:41https://github.com/purescript-lua/purescript-lua/pull/210#event-27712849778
View session https://github.com/purescript-lua/purescript-lua/sessions/69a394e8-3839-44c5-96e9-ec35726cd311
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 8, 2026 https://github.com/purescript-lua/purescript-lua/pull/210#pullrequestreview-4653768683
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/210/files/092dda0bed9fff88b216c272fb6d0a3988463076
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/210#pullrequestreview-4653768683
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
test/ps/src/Golden/Primops/Test.purshttps://github.com/purescript-lua/purescript-lua/pull/210/files/092dda0bed9fff88b216c272fb6d0a3988463076#diff-da2e2f6c7c58a796188f50185132a75b272a9f5100bb9fffd3b4bcc808d36dc2
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
https://github.com/Unisay
feat: simplify boolean-valued ifs tohttps://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4
nothttps://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4
/ the condition (https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4
#178https://github.com/purescript-lua/purescript-lua/issues/178
)https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4
b98e98dhttps://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4
#178https://github.com/purescript-lua/purescript-lua/issues/178
#178https://github.com/purescript-lua/purescript-lua/issues/178
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 8, 2026 13:57https://github.com/purescript-lua/purescript-lua/pull/210#event-27718941150
Unisayhttps://github.com/Unisay
July 8, 2026 16:01https://github.com/purescript-lua/purescript-lua/pull/210#commits-pushed-2d1031c
https://github.com/Unisay
address copilot review on PRhttps://github.com/purescript-lua/purescript-lua/pull/210/commits/2d1031ce4396ba335956903e1396fa37945a6a33
#210https://github.com/purescript-lua/purescript-lua/pull/210
2d1031chttps://github.com/purescript-lua/purescript-lua/pull/210/commits/2d1031ce4396ba335956903e1396fa37945a6a33
#180https://github.com/purescript-lua/purescript-lua/issues/180
#210 (comment)https://github.com/purescript-lua/purescript-lua/pull/210#discussion_r3543635671
https://github.com/Unisay
chore: sync Golden.Primops corefn with the reworded test commenthttps://github.com/purescript-lua/purescript-lua/pull/210/commits/ba37b482f69753eae68b78dac86ba5eb21f7874c
ba37b48https://github.com/purescript-lua/purescript-lua/pull/210/commits/ba37b482f69753eae68b78dac86ba5eb21f7874c
2d1031chttps://github.com/purescript-lua/purescript-lua/commit/2d1031ce4396ba335956903e1396fa37945a6a33
https://github.com/Unisay
fix(bench): canonicalize trace reports across trialshttps://github.com/purescript-lua/purescript-lua/pull/210/commits/9084c9a2cdba74a0da6492f975f6d26bc0472594
9084c9ahttps://github.com/purescript-lua/purescript-lua/pull/210/commits/9084c9a2cdba74a0da6492f975f6d26bc0472594
#178https://github.com/purescript-lua/purescript-lua/issues/178
#178https://github.com/purescript-lua/purescript-lua/issues/178
https://github.com/Unisay
Unisayhttps://github.com/Unisay
ef55831https://github.com/purescript-lua/purescript-lua/commit/ef55831f91e813469707b3368edfc66c0c30458e
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/210#event-27722532895
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 8, 2026 15:13https://github.com/purescript-lua/purescript-lua/pull/210#event-27722535440
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%2F210
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/210/files/092dda0bed9fff88b216c272fb6d0a3988463076
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
https://github.com/Unisay
Unisay https://github.com/Unisay
Lift the pure subset of foreign values into the IR: primop nodes and an allowlist-driven lifter https://github.com/purescript-lua/purescript-lua/issues/178
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/210
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.