alphabet
library module lib/alphabet
SLeeLa Alphabet Library
This library contains the SLeeLa-facing alphabet classes and language-specific alphabet definitions. The native C++17 runtime and its regression tests are in native/.
Main components
- Alphabet.sleela and AlphabetBuilder.sleela: ordered alphabet construction.
- Letter.sleela: per-letter metadata.
- CharacterSet.sleela: SLeeLa 1.9 API surface for bounded character catalogues; native binding is an integration boundary until connected to compiler/SLVM.
- native/: strict UTF-8 scalar decoding/encoding, scalar counts, C<n> capacity parsing, and bounded set membership.
- utf-4088/: experimental catalogue is maintained at the repository root in utf-4088/ and has its own adapter.
Build the native foundation
make -C lib/alphabet/native test
The library distinguishes UTF-8 byte strings, Unicode scalar values, grapheme clusters, glyphs, and UTF-4088 experimental IDs. The native runtime does not yet implement normalization or grapheme segmentation.
Files 23
- Alphabet.sleela
- AlphabetBuilder.sleela
- ArabicAlphabet.sleela
- CharacterSet.sleela
- Color.sleela
- CyrillicAlphabet.sleela
- DarkTheme.sleela
- GreekAlphabet.sleela
- HebrewAlphabet.sleela
- LatinAlphabet.sleela
- Letter.sleela
- LightTheme.sleela
- native/character_runtime.cpp
- native/character_runtime.hpp
- native/CMakeLists.txt
- native/Makefile
- native/README.md
- native/tests.cpp
- Palette.sleela
- README.md
- SLPackage.sleela
- SolarizedTheme.sleela
- Theme.sleela