Skip to content

Commit 32ea0c8

Browse files
chore(idris2): add SPDX headers to idris2/src/*.idr (#134) (#88)
## Summary Adds the estate-standard 3-line SPDX header (PMPL-1.0-or-later + your Open.ac.uk copyright) to all 14 Idris2 source files under \`idris2/src/\`, which were the last \`.idr\` files in the repo without one. ## Why \`src/formal/Ephapax/Formal/*.idr\` etc. already use this exact header; \`idris2/src/*.idr\` were the sole gap. Standards #134 listed this as an outstanding SPDX-coverage item. ## What - 14 files touched, 42 insertions, 0 deletions, 0 modifications to existing lines. - Header is byte-identical to the existing template (RegionLinear.idr, Qualifier.idr). - Trailing newlines preserved. - Idris2 ignores \`--\` comments before \`module …\`, so the build is unchanged. ## Test plan - [x] All 14 files now match the canonical SPDX template - [x] No existing line modified, no trailing newlines stripped - [x] Baseline rot in \`ephapax-parse-tests.ipkg\` (\`testLexPositions\` / \`parseWithBuf\` undefined) verified pre-existing on \`origin/main\` and explicitly out of scope - [ ] Repo CI (license-check + dogfood-gate) goes green Refs hyperpolymath/standards#124 #134 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8282857 commit 32ea0c8

14 files changed

Lines changed: 42 additions & 0 deletions

File tree

idris2/src/Ephapax/Affine/Emit.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Affine.Emit
25

36
import Ephapax.IR.Decode

idris2/src/Ephapax/Affine/Typecheck.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Affine.Typecheck
25

36
import Data.List

idris2/src/Ephapax/IR/AST.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.IR.AST
25

36
%default total

idris2/src/Ephapax/IR/Decode.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.IR.Decode
25

36
import Data.List

idris2/src/Ephapax/IR/SExpr.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.IR.SExpr
25

36
import Data.List

idris2/src/Ephapax/Parse/Lexer.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Parse.Lexer
25

36
import Data.List

idris2/src/Ephapax/Parse/Parser.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Parse.Parser
25

36
import Data.List

idris2/src/Ephapax/Parse/Stream.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Parse.Stream
25

36
import Ephapax.Parse.Lexer

idris2/src/Ephapax/Parse/TestMain.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Parse.TestMain
25

36
import Ephapax.Parse.Tests

idris2/src/Ephapax/Parse/Tests.idr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- SPDX-License-Identifier: PMPL-1.0-or-later
2+
-- Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
3+
--
14
module Ephapax.Parse.Tests
25

36
import Data.List

0 commit comments

Comments
 (0)