Skip to content

Commit cbd6e43

Browse files
authored
Merge pull request #71 from purescript-lua/chore/migrate-org-links
chore: point package-set + fork links at purescript-lua org
2 parents 94c13ce + c041436 commit cbd6e43

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ The project uses Hedgehog for property-based testing:
296296
edit `compiler-nix-name` / `easy-ps.purs-*` in `flake.nix`.
297297
2. PureScript package sets live in `test/ps/packages.dhall` as
298298
`upstream-ps // upstream-lua`. The right operand wins: `upstream-lua`
299-
(releases of `Unisay/purescript-lua-package-sets`) overrides core
299+
(releases of `purescript-lua/purescript-lua-package-sets`) overrides core
300300
packages with Lua forks that ship `.lua` FFI files.
301301
3. After changing package sets or `purs`: `cd test/ps && spago build -u
302302
'-g corefn'`, then `cabal test all`. Drop the `sha256:` annotations
@@ -311,7 +311,7 @@ The project uses Hedgehog for property-based testing:
311311

312312
- **`unit` must not be `nil`**: Lua tables cannot hold `nil` values, so
313313
`Array Unit` silently collapses to an empty table if the prelude defines
314-
`unit = nil`. Requires `Unisay/purescript-lua-prelude` ≥ v7.2.0, where
314+
`unit = nil`. Requires `purescript-lua/purescript-lua-prelude` ≥ v7.2.0, where
315315
`unit = {}`. If eval goldens for unit arrays start printing `0`, a
316316
package set downgraded the prelude — do not accept such goldens.
317317
- A generated-Lua change that only passes `luacheck` is not verified:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# Purescript Backend for Lua
22

3-
[![Purescript Lua CI](https://github.com/Unisay/purescript-lua/actions/workflows/ci.yaml/badge.svg)](https://github.com/Unisay/purescript-lua/actions/workflows/ci.yaml)
3+
[![Purescript Lua CI](https://github.com/purescript-lua/purescript-lua/actions/workflows/ci.yaml/badge.svg)](https://github.com/purescript-lua/purescript-lua/actions/workflows/ci.yaml)
44

55
🔋 Status: (2024-04-20) the project is in the "_ready to be experimented with_" state (read: it likely contains bugs but is already usable).
66

77
💡 If you have an idea on how to use Purescript to Lua compilation please contribute it here:
8-
https://github.com/Unisay/purescript-lua/discussions/categories/ideas
8+
https://github.com/purescript-lua/purescript-lua/discussions/categories/ideas
99

1010
## Features
1111

1212
- [x] Lua code bundling: emits either a Lua module (a file that returns a table with functions) or an application (a file that executes itself).
1313
- [x] FFI with Lua.
1414
- [x] Dead Code Elimination (DCE).
1515
- [x] Code inlining.
16-
- [x] [Package Set](https://github.com/Unisay/purescript-lua-package-sets) for PureScript/Lua libs.
16+
- [x] [Package Set](https://github.com/purescript-lua/purescript-lua-package-sets) for PureScript/Lua libs.
1717
- [x] All core libs added to the package set.
1818

1919
## Quick Start
@@ -56,23 +56,23 @@ Assuming that `pslua` executable is already available on your PATH
5656
### Using nix with flakes
5757

5858
```
59-
nix run 'github:Unisay/purescript-lua' -- --help
59+
nix run 'github:purescript-lua/purescript-lua' -- --help
6060
```
6161

6262
## Installation
6363

64-
If you're on a x86 64bit Linux system then you can download a pre-built executable from the [releases](https://github.com/Unisay/purescript-lua/releases) page:
64+
If you're on a x86 64bit Linux system then you can download a pre-built executable from the [releases](https://github.com/purescript-lua/purescript-lua/releases) page:
6565

6666
```
67-
wget -c https://github.com/Unisay/purescript-lua/releases/download/0.1.1-alpha/pslua-linux_x86_64.tar.gz -O - | tar -xz
67+
wget -c https://github.com/purescript-lua/purescript-lua/releases/download/0.1.1-alpha/pslua-linux_x86_64.tar.gz -O - | tar -xz
6868
```
6969

7070
alternatively,
7171

7272
### Using nix with flakes
7373

7474
```
75-
nix profile install 'github:Unisay/purescript-lua'
75+
nix profile install 'github:purescript-lua/purescript-lua'
7676
```
7777

7878
will make `pslua` executable available for use.

test/ps/golden/Golden/StringCodePoints/Test.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Exercises Data.String.CodePoints end to end on the released package set
2-
-- (Unisay/purescript-lua-strings v6.2.0). The test string mixes UTF-8 widths
2+
-- (purescript-lua/purescript-lua-strings v6.2.0). The test string mixes UTF-8 widths
33
-- 1..4: 'a' (1 byte), 'é' (2), 'Я' (2, Cyrillic), '𝐀' (4, astral), 'z' (1).
44
-- Output is all Ints/Bools via fromEnum so the golden stays ASCII and does
55
-- not depend on how strings are shown.

test/ps/packages.dhall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let upstream-ps =
33
sha256:e48c9b283ca89ec994453459fb74c4b5b5a9432349f83a2e104f39dd869a0f6e
44

55
let upstream-lua =
6-
https://github.com/Unisay/purescript-lua-package-sets/releases/download/psc-0.15.15-20260613-2/packages.dhall
6+
https://github.com/purescript-lua/purescript-lua-package-sets/releases/download/psc-0.15.15-20260613-2/packages.dhall
77
sha256:b006e1fd8aa8cd290faf65852f37f62ad3bf5fe97fa3a7c30c97ff7ddfa49807
88

99
in upstream-ps // upstream-lua

0 commit comments

Comments
 (0)