From cf9af14fe749c52473fdf5a327c3e935e45bf0e7 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 10:56:22 +0000 Subject: feat(library): add experimental string LEFT function Co-Authored-By: Claude Opus 5.5 --- tests/library/exp-string/notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/library/exp-string/notes.md') diff --git a/tests/library/exp-string/notes.md b/tests/library/exp-string/notes.md index ca7d489..f44a2b3 100644 --- a/tests/library/exp-string/notes.md +++ b/tests/library/exp-string/notes.md @@ -3,3 +3,5 @@ Review status: pending human review. Copies of hello are independent; assigning world to the copy gives helloworld when concatenated. Empty length is zero, and three NUL bytes retain length three. One hundred appended five-byte words grow 20000 bytes to 20500, preserved by BYVAL and RETURN. C++17 formatting gives 42 and 1.250000. Parsing 12.5 compares equal to 12.5. Trailing junk and negative counts emit the explicit library reasons at user lines 27 and 32, then are caught. Discarded numeric and Echo results must release their owned strings at statement end. The explicitly deleted heap object prints heap. This fixture covers compiler/library extensions, including numeric text formatting. + +LEFT keeps ABC, returns zero bytes for an empty source or nonpositive count, and clamps 20 to all eight letters. Taking four bytes from three NULs followed by hello retains all four bytes. -- cgit v1.3.1-4-g156e