Expand description
§Grift Unicode
Minimal Unicode character operations for the Grift Scheme interpreter.
Provides case mapping, case folding, and character property queries
without requiring std or alloc. Uses Rust’s built-in Unicode-aware
core::char methods and a small static table for full case folding.
Structs§
- Case
MapResult - Result of a full case mapping operation that may expand a single character into up to 3 characters.
Functions§
- char_
downcase - Return the simple lowercase mapping of a character.
- char_
foldcase - Return the simple case fold of a character.
- char_
is_ alphabetic - Check if a character has the Unicode Alphabetic property.
- char_
is_ lowercase - Check if a character has the Unicode Lowercase property.
- char_
is_ numeric - Check if a character is a Unicode decimal digit (General Category Nd).
- char_
is_ uppercase - Check if a character has the Unicode Uppercase property.
- char_
is_ whitespace - Check if a character has the Unicode White_Space property.
- char_
upcase - Return the simple uppercase mapping of a character.
- digit_
value - Return the digit value of a Unicode decimal digit character.
- full_
downcase - Full lowercase mapping of a character.
- full_
foldcase - Full case folding of a character.
- full_
upcase - Full uppercase mapping of a character.