def gcb
import bend-kit-unicode@0.1.0.0/unicode.bend as Unicodeimport Base
import bend-kit-unicode@0.1.0.0/tables.bend as T
163# T.gb packs Grapheme_Cluster_Break in bits 0-3 (Other 0, CR 1, LF 2, Control 3, Extend 4,
164# ZWJ 5, Regional_Indicator 6, Prepend 7, SpacingMark 8, L 9, V 10, T 11, LV 12, LVT 13),
165# Extended_Pictographic in bit 4, and InCB in bits 5-6 (Consonant 1, Extend 2, Linker 3).
166def gcb(+q: U32) -> U32:
167 (q .&. 15 : U32)