From caa88a9b36d9e1dfae40ecb31aee05bc2891fa17 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 27 Oct 2026 14:07:24 +0000 Subject: docs(preprocessor): document switches and library regions Add manuals and aliases for all five PP directives, replace the retired #LIB page, and update compiler and shared-editor architecture notes. Co-Authored-By: Claude Opus 5.5 --- AGENTS/SUBSYSTEMS/STDLIB.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'AGENTS/SUBSYSTEMS/STDLIB.md') diff --git a/AGENTS/SUBSYSTEMS/STDLIB.md b/AGENTS/SUBSYSTEMS/STDLIB.md index 6c7b14c..07d0959 100644 --- a/AGENTS/SUBSYSTEMS/STDLIB.md +++ b/AGENTS/SUBSYSTEMS/STDLIB.md @@ -1,6 +1,6 @@ # Standard library -Part of the [subsystem notes](../SUBSYSTEMS.md). `#LIB` library units and default +Part of the [subsystem notes](../SUBSYSTEMS.md). `PP_DEFINE __LIB` library regions and default import rules: [CONVENTIONS/EXCEPTIONS_AND_UNITS.md](../CONVENTIONS/EXCEPTIONS_AND_UNITS.md). **Standard library** (`pseudocode-lib/`) @@ -31,8 +31,8 @@ import rules: [CONVENTIONS/EXCEPTIONS_AND_UNITS.md](../CONVENTIONS/EXCEPTIONS_AN ## STRING and I/O bridging -- STRING is a #LIB class with a public internal void* handle owning std::string. The - _string_impl_* C ABI reports __cps_user_line and throws 0 on std::exception. +- The STRING class is defined under PP_DEFINE __LIB. Its public internal void* + handle owns std::string. The _string_impl_* C ABI reports __cps_user_line and throws 0 on std::exception. - Functions/operators use ordinary resolution; StringValueGen bridges literals, C_STR, C conversions and file operands. - C_STRING literals have an adjacent uppercase C suffix. -- cgit v1.3.1-4-g156e