lib: banner purge + WHY-only comment sweep (rule 8)
Every // ---- section banner dies (132 -> 0): names carry the WHAT. Narration deleted (filename restatements, run-with lines, what-the- next-line-does); every ref/hare cite, task cite, divergence, ABI/ layout contract, and ownership qualifier kept (borrowed-view lines restored where the sweep over-cut). Comment-only proven: all 442 walk-workdir .s and 32 import-probe .s byte-identical before/after; libbyteid 56-roster all-ID.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
// decodetest — exercises the utf8 decoder: next/prev/validate/
|
||||
// remaining/slice/position, plus the encode→decode round-trip. A
|
||||
// failing row aborts via the assert/abort builtin (task #5 @test
|
||||
// conversion). Vectors mirror ref/hare/encoding/utf8/decode.ha.
|
||||
// Vectors mirror ref/hare/encoding/utf8/decode.ha. A failing row aborts
|
||||
// via the assert/abort builtin (task #5 @test conversion).
|
||||
|
||||
package utf8_test;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// encodetest — exercises utf8.encoderune. A failing row aborts via
|
||||
// the assert/abort builtin (task #5 @test conversion).
|
||||
// Vectors mirror ref/hare/encoding/utf8/encode.ha.
|
||||
// Vectors mirror ref/hare/encoding/utf8/encode.ha. A failing row aborts
|
||||
// via the assert/abort builtin (task #5 @test conversion).
|
||||
|
||||
package utf8_test;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// runetest — exercises utf8.runesz/utf8sz. A failing row aborts via
|
||||
// the assert/abort builtin (task #5 @test conversion).
|
||||
// Vectors mirror ref/hare/encoding/utf8/rune.ha.
|
||||
// Vectors mirror ref/hare/encoding/utf8/rune.ha. A failing row aborts
|
||||
// via the assert/abort builtin (task #5 @test conversion).
|
||||
|
||||
package utf8_test;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// typestest — exercises utf8.strerror. A failing row aborts via the
|
||||
// Mirrors ref/hare/encoding/utf8/types.ha. A failing row aborts via the
|
||||
// assert/abort builtin (task #5 @test conversion).
|
||||
// Mirrors ref/hare/encoding/utf8/types.ha.
|
||||
|
||||
package utf8_test;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// encoding/utf8 — UTF-8 encode/decode. Hare port; see
|
||||
// Hare port; see
|
||||
// ref/hare/encoding/utf8/{types,rune,encode,decode,decodetable}.ha.
|
||||
//
|
||||
// The decoder is Hoehrmann's branchless DFA, originally published
|
||||
@@ -453,4 +453,3 @@ export fn slice(begin: *decoder, end: *decoder) []u8 = {
|
||||
export fn position(d: *decoder) i32 = {
|
||||
return d.offs: i32;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user