René's URL Explorer Experiment


Title: Supersede the FFI-parenthesisation half of ADR 0003 once pslua ships its Lua parser · Issue #7 · purescript-lua/purescript-lua-package-sets · GitHub

Open Graph Title: Supersede the FFI-parenthesisation half of ADR 0003 once pslua ships its Lua parser · Issue #7 · purescript-lua/purescript-lua-package-sets

X Title: Supersede the FFI-parenthesisation half of ADR 0003 once pslua ships its Lua parser · Issue #7 · purescript-lua/purescript-lua-package-sets

Description: pslua PR #197 (merged) replaces the lexical foreign-file splitter with a real Lua 5.1 parser. That invalidates half of ADR 0003: the "every FFI export must be parenthesised" rule existed only because the old reader found a value's end by...

Open Graph Description: pslua PR #197 (merged) replaces the lexical foreign-file splitter with a real Lua 5.1 parser. That invalidates half of ADR 0003: the "every FFI export must be parenthesised" rule existed only becau...

X Description: pslua PR #197 (merged) replaces the lexical foreign-file splitter with a real Lua 5.1 parser. That invalidates half of ADR 0003: the "every FFI export must be parenthesised" rule existed ...

Opengraph URL: https://github.com/purescript-lua/purescript-lua-package-sets/issues/7

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Supersede the FFI-parenthesisation half of ADR 0003 once pslua ships its Lua parser","articleBody":"`pslua` [PR #197](https://github.com/purescript-lua/purescript-lua/pull/197) (merged) replaces the lexical foreign-file splitter with a real Lua 5.1 parser. That invalidates half of [ADR 0003](docs/adr/0003-lua-51-target-and-ffi-parens.md): the \"every FFI export must be parenthesised\" rule existed only because the old reader found a value's end by counting balanced parens. ADR 0003's own Consequences section anticipated this: \"Relaxing the parenthesis requirement would mean teaching pslua to find a value's end without the parentheses, which needs real Lua parsing. That is a compiler decision, recorded in the pslua repository, not here.\" That decision has now been made.\n\nThe Lua-5.1-target half of ADR 0003 is untouched and stays as-is.\n\n## Why this waits\n\nA released `pslua` still reads only the parenthesised form until the parser ships in a version this set's forks target. Dropping the parenthesisation requirement from the docs before then would describe a contract the floor version can't actually read. This should land together with whatever package-set bump first requires a `pslua` version that includes the parser, so the ADR can name the exact version threshold instead of a vague \"eventually.\"\n\n## What to do when that bump happens\n\n- Add a new ADR (0010) superseding the relevant part of 0003: parentheses become optional (the parser drops grouping parens; existing parenthesised FFI stays valid), gated on the `pslua` version threshold.\n- Update `CONTRIBUTING.md`'s FFI rule (currently \"Parenthesise every FFI export\").\n- Update the ADR README index entry for 0003 (status/summary).\n- Re-check ADR 0007's rationale for lua-format over StyLua: one of its supporting arguments (StyLua strips parens the old reader needed) gets weaker, though lua-format may still be preferred for other reasons.\n\n## Reference\n\n- pslua PR: https://github.com/purescript-lua/purescript-lua/pull/197\n- pslua issue: https://github.com/purescript-lua/purescript-lua/issues/173\n","author":{"url":"https://github.com/Unisay","@type":"Person","name":"Unisay"},"datePublished":"2026-07-07T13:25:57Z","url":"https://github.com/purescript-lua/purescript-lua-package-sets/issues/7"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ff2d0fd2-f1be-8655-8b02-b18e2fbe95ba
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD32E:ADA9D:944893:C1F9DD:6B00E004
html-safe-nonce93f937b1bde79c830b1e3af4b74da30c6735172db2dae0b852d8f3132c1bbc75
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzJFOkFEQTlEOjk0NDg5MzpDMUY5REQ6NkIwMEUwMDQiLCJ2aXNpdG9yX2lkIjoiNzczMDEwNDU2OTQ1NTIzOTE3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace8e85823fcf838c3a04d62989ed8123577e7b3cf51eb29b5194c1481e095cc52
hovercard-subject-tagissue:4828949991
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript-lua/purescript-lua-package-sets/7/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0a69c741c40f4da82cdd6578b7a4321c64d4034aefe2ad892e55a4ccb1fe5b90/purescript-lua/purescript-lua-package-sets/issues/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a69c741c40f4da82cdd6578b7a4321c64d4034aefe2ad892e55a4ccb1fe5b90/purescript-lua/purescript-lua-package-sets/issues/7
og:image:altpslua PR #197 (merged) replaces the lexical foreign-file splitter with a real Lua 5.1 parser. That invalidates half of ADR 0003: the "every FFI export must be parenthesised" rule existed only becau...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameUnisay
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
turbo-cache-controlno-preview
go-importgithub.com/purescript-lua/purescript-lua-package-sets git https://github.com/purescript-lua/purescript-lua-package-sets.git
octolytics-dimension-user_id131581790
octolytics-dimension-user_loginpurescript-lua
octolytics-dimension-repository_id620972139
octolytics-dimension-repository_nwopurescript-lua/purescript-lua-package-sets
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id69126177
octolytics-dimension-repository_parent_nwopurescript/package-sets
octolytics-dimension-repository_network_root_id69126177
octolytics-dimension-repository_network_root_nwopurescript/package-sets
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-nameissues

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua-package-sets/issues/7#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua-package-sets%2Fissues%2F7
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-package-sets%2Fissues%2F7
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua-package-sets
Reloadhttps://github.com/purescript-lua/purescript-lua-package-sets/issues/7
Reloadhttps://github.com/purescript-lua/purescript-lua-package-sets/issues/7
Reloadhttps://github.com/purescript-lua/purescript-lua-package-sets/issues/7
purescript-luahttps://github.com/purescript-lua
purescript-lua-package-setshttps://github.com/purescript-lua/purescript-lua-package-sets
Codehttps://github.com/purescript-lua/purescript-lua-package-sets
Issues1 (1)https://github.com/purescript-lua/purescript-lua-package-sets/issues
Pull requestshttps://github.com/purescript-lua/purescript-lua-package-sets/pulls
Actionshttps://github.com/purescript-lua/purescript-lua-package-sets/actions
Security and qualityhttps://github.com/purescript-lua/purescript-lua-package-sets/security
Insightshttps://github.com/purescript-lua/purescript-lua-package-sets/insights
https://github.com/purescript-lua/purescript-lua-package-sets
New issuehttps://github.com/login?return_to=https://github.com/purescript-lua/purescript-lua-package-sets/issues/7
New issuehttps://github.com/login?return_to=https://github.com/purescript-lua/purescript-lua-package-sets/issues/7
Supersede the FFI-parenthesisation half of ADR 0003 once pslua ships its Lua parserhttps://github.com/purescript-lua/purescript-lua-package-sets/issues/7#top
https://github.com/Unisay
Unisayhttps://github.com/Unisay
on Jul 7, 2026https://github.com/purescript-lua/purescript-lua-package-sets/issues/7#issue-4828949991
PR #197https://github.com/purescript-lua/purescript-lua/pull/197
ADR 0003https://github.com/purescript-lua/purescript-lua-package-sets/issues/docs/adr/0003-lua-51-target-and-ffi-parens.md
Parse foreign Lua files with the compiler's own Lua 5.1 parser purescript-lua#197https://github.com/purescript-lua/purescript-lua/pull/197
Replace the lexical foreign splitter with a real Lua 5.1 parser producing the Lua AST purescript-lua#173https://github.com/purescript-lua/purescript-lua/issues/173
Sign up for freehttps://github.com/signup?return_to=https://github.com/purescript-lua/purescript-lua-package-sets/issues/7
Sign in to commenthttps://github.com/login?return_to=https://github.com/purescript-lua/purescript-lua-package-sets/issues/7
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.