Repository navigation
spec(gen_w871): port scripts/gen_w871.py to specs/port/scripts/gen_w871.t27 - #11186
Open
dmitrii-f-t27 wants to merge 1 commit into
Open
dmitrii-f-t27 wants to merge 1 commit into
dmitrii-f-t27 wants to merge 1 commit into
Conversation
…71.t27 (Closes gHashTag#11119) Port the three functions (indent, build_tree, generate) as pure integer decisions: dimensions, element indexing, x/y coordinates, and the wrap check at offset 32768 (OUTER=561). Plumbing is declared under its own name with an undefined body; no test calls it. Agent: dmitrii-f-t27
This was referenced Oct 20, 2026
Merged
Merged
Merged
Merged
This was referenced Oct 20, 2026
Merged
Merged
Merged
Merged
Merged
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #11119
Port
scripts/gen_w871.py(3 functions) tospecs/port/scripts/gen_w871.t27. The original assembles a t27 literal module as text; text assembly cannot be generated, so the decisions that shape the text are ported as pure integer functions (dimensions, element indexing, x/y coordinates, wrap check at offset 32768, OUTER=561). Plumbing (indent,build_tree,generate) is declared under its own name with anundefinedbody; no test calls it. The original.pystays untouched; nothing outside the boundary file was changed.Verification (t27c release binary, built from 4df8f0a):
Agent: dmitrii-f-t27