Title: Register pslua as a first-class Spago backend (+ docs/template on the published set) · Issue #117 · purescript-lua/purescript-lua · GitHub
Open Graph Title: Register pslua as a first-class Spago backend (+ docs/template on the published set) · Issue #117 · purescript-lua/purescript-lua
X Title: Register pslua as a first-class Spago backend (+ docs/template on the published set) · Issue #117 · purescript-lua/purescript-lua
Description: Context: #55 introduced a no-op backend: { cmd: "true" } to make Spago emit CoreFn, and that is now how test/ps and every migrated fork build. Separately, purescript-lua-package-sets now publishes a consumable packages.json (a RemotePack...
Open Graph Description: Context: #55 introduced a no-op backend: { cmd: "true" } to make Spago emit CoreFn, and that is now how test/ps and every migrated fork build. Separately, purescript-lua-package-sets now publishes ...
X Description: Context: #55 introduced a no-op backend: { cmd: "true" } to make Spago emit CoreFn, and that is now how test/ps and every migrated fork build. Separately, purescript-lua-package-sets now ...
Opengraph URL: https://github.com/purescript-lua/purescript-lua/issues/117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Register pslua as a first-class Spago backend (+ docs/template on the published set)","articleBody":"Context: #55 introduced a no-op `backend: { cmd: \"true\" }` to make Spago emit CoreFn, and that is now how test/ps and every migrated fork build. Separately, `purescript-lua-package-sets` now publishes a consumable `packages.json` (a RemotePackageSet: the registry baseline with the Lua forks overlaid as git entries), which projects consume via `workspace.packageSet.url`. The remaining gap for downstream users is making `pslua` itself a first-class Spago backend, so `spago build` targets Lua out of the box instead of the no-op `true` plus a hand-run pslua step.\n\nScope:\n\n- Verify the `pslua` CLI matches Spago's backend contract: Spago compiles to CoreFn, then invokes `\u003cworkspace.backend.cmd> \u003cargs>`. Confirm `pslua` reads the corefn from `output/`, foreign from `--foreign-path`, and emits via `--lua-output-file` / `--entry` when invoked that way; fill any gaps (argument mapping for `spago build` / `spago run`, multi-module output).\n- Update `README.md` to the new `spago.yaml` form: `workspace.packageSet.url` pointing at a published Lua set plus the `workspace.backend` for pslua, replacing the legacy `spago.dhall` backend snippet (this folds in the README doc fix). Update `CLAUDE.md` if relevant.\n- Update `purescript-lua/purescript-lua-template` and the example repo to the new spago: a `spago.yaml` with `workspace.packageSet.url` (the published set) and `workspace.backend` for pslua, dropping `spago.dhall` / `packages.dhall`.\n\nAcceptance: a fresh project from the template builds Lua via `spago build` against the published set with `pslua` as the backend; README shows the new `spago.yaml`.\n","author":{"url":"https://github.com/Unisay","@type":"Person","name":"Unisay"},"datePublished":"2026-06-23T15:14:31Z","url":"https://github.com/purescript-lua/purescript-lua/issues/117"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e507e2f0-6cd9-d515-8c76-5e9b7b3f822b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B0E:2C4BED:575447:70B170:6B00DB73 |
| html-safe-nonce | 8a26c3874457930197a9eb263de355cac37b0c77697428efc8b01b8e56dac1c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjBFOjJDNEJFRDo1NzU0NDc6NzBCMTcwOjZCMDBEQjczIiwidmlzaXRvcl9pZCI6Ijc2ODI0NDAwNzQ2NzEyMTc1MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c62a9cd7d448dedc879ec29dd0be4e748497e5acd5da8005be2b313d4acefb4f |
| hovercard-subject-tag | issue:4727115979 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript-lua/purescript-lua/117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d8165e07e42e2ce9af9fa7e044f44683c46556dc270d2f0860f09a9fb957e3d9/purescript-lua/purescript-lua/issues/117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d8165e07e42e2ce9af9fa7e044f44683c46556dc270d2f0860f09a9fb957e3d9/purescript-lua/purescript-lua/issues/117 |
| og:image:alt | Context: #55 introduced a no-op backend: { cmd: "true" } to make Spago emit CoreFn, and that is now how test/ps and every migrated fork build. Separately, purescript-lua-package-sets now publishes ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Unisay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git |
| octolytics-dimension-user_id | 131581790 |
| octolytics-dimension-user_login | purescript-lua |
| octolytics-dimension-repository_id | 587200487 |
| octolytics-dimension-repository_nwo | purescript-lua/purescript-lua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587200487 |
| octolytics-dimension-repository_network_root_nwo | purescript-lua/purescript-lua |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width