chore(license): an SPDX header on every source file that had none (LicenseRef-Starship-1.0) [skip ci]
The header scan (Captain Bob, 2026-11-10): 788 source files -- 351 with the
SL-1.0 header, 12 with the old name (docs/working/experiments, kept by
ruling), 31 under someone else's licence (tools/kconfig, Linux's, GPL-2.0:
kept), and 394 with none. Ruled: the SPDX form; capsules (.4th, .f18) and
proofs (.thy) left for a ruling of their own (mkcapsule's 64x16 block format,
content-addressed capsules).
253 files now begin
SPDX-License-Identifier: LicenseRef-Starship-1.0
Copyright (c) 2023-2026 Robert A. James
as a /* */ block (C, headers, assembly, linker scripts) or # lines (scripts,
Makefiles, Kconfig; below a shebang or a coding line); tools/mkcapsule.c,
which had the copyright line, gets the SPDX line only.
Not touched: docs/working/ (archive and old campaign material, as the
ruling kept the experiments); v4/system/post_cases.c (generated by
v4/tools/mkpost.py, "do not edit" -- the generator has the header).
Comments only: the kernel builds on amd64, aarch64, riscv64; make -C v4
test-32: 39 programs, 0 failures; every changed script parses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* host_map.h -- the memory map the host-node tests give the compiler capsule,
|
||||
* and the loader that assembles it.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* post_cases_fail.c -- a table of cases for the boot to fail on.
|
||||
* docs/v4.0.0/MESH.md step 6b, acceptance 4; v4/Makefile, hosted-check.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* rom_asm_cases.h -- the texts of v4/tests/test_text.c, accepted and refused, that the ROM's language has
|
||||
* (no header and no flags). Extracted once from test_text.c; each is given to text.c and to the ROM, and
|
||||
* test_host_rom_asm.c requires the same outcome. */
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* rom_harness.h -- run the ROM's routines on a host node, for tests.
|
||||
*
|
||||
* The ROM (capsules/v4/rom, built by tools/mkrom.c into $(BINDIR)/rom-<w>.c)
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_asm.c -- the slot packer lays words out as asm.h says it does. */
|
||||
#include "v4/asm.h"
|
||||
#include "v4/testcode.h"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_cells.c -- the small single-cell words, executed.
|
||||
*
|
||||
* DECOMPOSITION.md 4 and 5.1 - 5.5: the stack, return-stack, memory,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_console.c -- the console registers of the single-node model (node.h):
|
||||
* CONSOLE-TX, which captures what is printed, and CONSOLE-RX and
|
||||
* CONSOLE-STATUS, which hand out characters the test feeds.
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_exec.c -- every opcode of DECOMPOSITION.md section 1.3, and the slot
|
||||
* sequencing of section 1.2.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_fabric.c -- nodes that talk: ports that block on a read as well as a
|
||||
* write, a node born empty that executes what arrives at its port, and the
|
||||
* fabric of nodes and wiring that changes while they run.
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_foundation.c -- the first DECOMPOSITION.md definitions, executed.
|
||||
*
|
||||
* Section 4 says of its colon definitions that each "has been traced by hand,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_guard.c -- the 5% safety boundary.
|
||||
*
|
||||
* A guard band whose only assertion is "the patterns still look right" has not
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_heat.c -- heat and anti-clock. */
|
||||
#include "v4/heat.h"
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_blocks.c -- the kernel serves a node's block requests.
|
||||
* docs/v4.0.0/MESH.md sections 8.2 and 8.3.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_codegen.c -- the code generator, executed on the host node.
|
||||
*
|
||||
* capsules/v4/sys/codegen.f18 packs opcodes, literals and branches into instruction
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_compile.c -- the defining and compiling words, executed on the
|
||||
* host node.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_depth.c -- every message path of a node on a mesh, at every
|
||||
* depth of both stacks. docs/v4.0.0/MESH.md 7d.7, acceptance 7; 7c.6.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_dict.c -- the dictionary, executed on the host node.
|
||||
*
|
||||
* DECOMPOSITION.md 5.12 and 5.13: HERE ALIGN ALLOT , C, 2, PAD LATEST, FIND
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_input.c -- reading a line and splitting it into words and
|
||||
* numbers, executed on the host node.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_mesh.c -- StarForth nodes that talk: a console wired to one
|
||||
* node, and two more in a row behind it. docs/v4.0.0/MESH.md sections 6
|
||||
* and 7, steps 3 and 4.
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_node.c -- the host node's size, and the text assembler on it.
|
||||
*
|
||||
* Tests named test_host_*.c are built with V4_NODE_WORDS = 16384 (Makefile):
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_quit.c -- the prompt, executed on the host node.
|
||||
*
|
||||
* capsules/v4/sys/quit.f18 on top of the earlier layers: QUIT, ABORT, ABORT" and ." .
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_asm.c -- the ROM assembles text exactly as v4/src/text.c does.
|
||||
*
|
||||
* Plan Tasks 6 and 7. The ROM is started at its entry (12) and fed a text
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_in.c -- the ROM's input: characters from the console, and tokens.
|
||||
*
|
||||
* docs/v4.0.0/plans/2026-10-15-machine-step1-rom.md Task 2. The ROM reads
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_math.c -- the ROMs' shared math (docs/v4.0.0/MACHINE.md 2.2).
|
||||
*
|
||||
* Both ROMs begin with the same six entries (v4/include/v4/rom_entries.h):
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_nucleus.c -- the proof: the ROM assembles the system as text.c does, word for word.
|
||||
*
|
||||
* Plan Task 8 and 9; MACHINE.md section 6, step 1. The system's source is
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_num.c -- the ROM reads numbers as v4/src/text.c does.
|
||||
*
|
||||
* Plan Task 3. (NUMBER) ( -- n flag ) looks at the token (TOKEN) read: flag
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_pack.c -- the ROM's slot packer, word for word with asm.c.
|
||||
*
|
||||
* Plan Task 5. (OP) ( op -- ), (LIT) ( v -- ), (BRANCH) ( op target -- ),
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_range.c -- the ROM is the machine's: read and run, never written.
|
||||
*
|
||||
* docs/v4.0.0/MACHINE.md section 2, DATASHEET-F18.md section 5. The ROM is a
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_rom_sym.c -- the ROM's symbol table.
|
||||
*
|
||||
* Plan Task 4. (DEFINE) ( value kind -- ) gives the token (TOKEN) read a
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* test_host_unit.c -- five nodes come up from nothing.
|
||||
* docs/v4.0.0/MESH.md section 9, step 5; acceptance 1 and 2.
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user