Port bootstrap/src/compiler.rs lines 29696-29795 (Rust, 7 functions) to specs/port/bootstrap/src/compiler/HirTernaryRegF - #6193
Merged
Merged
Conversation
Adds specs/port/bootstrap/src/compiler/HirTernaryRegFile_new.t27: the seven functions from bootstrap/src/compiler.rs lines 29696-29795 (HirTernaryRegFile_new, HirTernaryRegFile_total_bits, HirTernaryRegFile_bram18_count, HirResourceEstimate_zero, HirResourceEstimate_new, HirBoardResources_arty_a7, HirBoardResources_xc7a100t) with the structs they return, and 12 tests asserting the original values: the default 27-register / 27-trit register file, total_bits arithmetic, bram18_count integer-division edge cases (default 1 block, exact fit 2, two full blocks 3), the zero estimate, the field-carrying estimate constructor, and both board constants. Every body is a pure decision - no plumbing, no undefined stubs. HirIpCore and HirIpCatalog in the same range are struct-only with no functions to port (HirIpCatalog.cores is a growable Vec, which this language cannot express). t27c parse: tree ok. t27c typecheck: OK (0 errors, 0 warnings). t27c gen: 0 not-yet-implemented, 136 lines. t27c spec-status: IMPLEMENTED. t27c test-report: 12 of 12 pass, 0 BLOCKED. t27c coverage: 7 of 7 functions tested. Closes #6165
A pull request must add exactly one docs/now entry and a bee has no way to know that: its brief names a boundary file and acceptance criteria, and docs/now/ is neither. The publisher adds it rather than failing the gate. Closes #6165 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Oct 4, 2026
Contributor
This was referenced Oct 4, 2026
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 #6165
Written by a bee on
queen-6165and published bytools/queen/publish.py. The branch itself is the bee's; the second commit is the coordination entry every pull request must add, which a bee has no way to know about.🤖 Generated with Claude Code