Home /Modules/alphabet/README.md

README.md

lib/alphabet/native/README.md · 20 line(s) · markdown

Native Alphabet Runtime

This C++17 module supplies reusable Unicode-scalar UTF-8 validation and character-set membership for SLeeLa integrations. It is an additive library; it does not claim that every compiler/SLVM path already calls it.

Build and test

make -C lib/alphabet/native test

The module treats UTF-8 bytes, Unicode scalar values, catalogue IDs, and rendered glyphs as distinct things. Grapheme-cluster segmentation and Unicode normalization are intentionally delegated to a versioned Unicode library rather than approximated here.

API

UTF-4088 identifiers above U+10FFFF are not Unicode scalar values and must not be passed to this UTF-8 API. See ../../../../utf-4088.