WIP: Stream native byte and integer formatting #22
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/coreutils!22
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/native-printf-formatting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Format counted byte strings and integers with one allocation-free preflight and output cursor. The native adapter retains the original cursor, staged channel and accepted-byte counts through output and diagnostics.
Depends on #21. The underlying native stream-authority demonstration remains tracked by #20; issue #12 also requires an independent binary-output guest oracle. See the supported formatting contract.
Cover byte escapes, repeated formats, integer recovery and channel ordering.
Check field dimensions and complete byte counts without result-sized allocation or padding-sized preflight work.
Retain staged output and original packet custody through returned failures and callback unwinds.
Qualify buffered/native adapters, strict checks and both freestanding executable builds.
Demonstrate NUL-separated build records, exact binary bytes/statuses and subsequent ordinary output with an independent guest oracle.
WIP: Stream native printf outputto feat: Stream native byte and integer formattingThe formatter is ready for review. All 318 unit tests and the original component workflow pass at the current head. The supported language and immutable-input contract are documented alongside the implementation; the native stream-authority acceptance remains with the prerequisite.
feat: Stream native byte and integer formattingto WIP: Stream native byte and integer formattingCorrection to readiness: issue #12 explicitly requires an independent guest binary-output test. The 318 unit tests and original component gates pass, but that demonstration is still open, so this PR remains WIP.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.