Skip to content

American spelling: 653 words across 237 files - #402

Open
gafferongames wants to merge 2 commits into
mainfrom
american-spelling
Open

American spelling: 653 words across 237 files#402
gafferongames wants to merge 2 commits into
mainfrom
american-spelling

Conversation

@gafferongames

Copy link
Copy Markdown
Contributor

Every British spelling in prose, comments, generated goldens, tests, the Makefile, workflows and the bench boards moves to the American form: the -ise/-isation family (initialise, localise, normalise, synchronise, recognise, optimise, materialise, symbolise, parameterise, ...), -our (colour, behaviour, neighbour, honour, favour, armour), licence, grey, labelled/unlabelled, modelled, cancelled, travelled, equalling, judgement, artefact, analogue, defence, marshalling, theatre, catalogue.

Identifiers we own are renamed with the compiler checking and the goldens regenerated:

  • the pointers corpus's Colour type is Color; its native mapping ColourMath is ColorMath; test/tables/graph_colour.h is graph_color.h. The rename moves graphdemo's protocol id and build version, so the pointers build-version golden and the pointers Table goldens (C++ and C) are re-pinned. The wire goldens are unchanged.
  • the grey DFS constant in internal/check/check.go and internal/codegen/cpp/cpp.go is gray.
  • TestJsonKeyIsHonoured is TestJsonKeyIsHonored.

make update-goldens re-pinned; every generated/ stamp regenerated byte-identically; go test ./... green. External names keep their spelling — none needed touching. Left alone as accepted American forms: towards/afterwards/backwards/forwards, prologue/epilogue, archaeology.

Not this PR: tables-block-zero-cost and tables-block-build-version are red on main since #386 (the C-like dialect's TableBlockAllocator comment in the arena, and static const replacing the inline constexpr the gate greps for).

🤖 Generated with Claude Code

rowan-claude and others added 2 commits September 4, 2026 07:54
Every British spelling in prose, comments, generated goldens, tests, the
Makefile, workflows and the bench boards moves to the American form:
the -ise/-isation family (initialise, localise, normalise, synchronise,
recognise, optimise, materialise, ...), -our (colour, behaviour,
neighbour, honour, favour, armour), licence, grey, labelled, modelled,
cancelled, travelled, equalling, judgement, artefact, analogue, defence,
marshalling, theatre, catalogue.

Identifiers we own are renamed and the goldens regenerated: the pointers
corpus's `Colour` type is now `Color` (its native mapping `ColourMath`
is `ColorMath`, and its header test/tables/graph_colour.h is
graph_color.h), the `grey` DFS constant in check.go and cpp.go is
`gray`, and TestJsonKeyIsHonoured is TestJsonKeyIsHonored. The rename
moves graphdemo's protocol id and build version, so the pointers
build-version golden and the pointers Table goldens are re-pinned; the
generated/ tree regenerates byte-identically.

External names keep their spelling: none were touched.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…aphdemo cook-write fixtures follow the Color rename

bench/LOCK freezes internal/codegen/{c,cpp}, so the two words there (a comment
and a local Go constant) wait for the lift. Renaming the pointers example's
Colour type moves the unit's build version, so the eight graph_* cook-write
fixtures are regenerated by make conformance-generate — the tool is the
reference for those bytes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants