aboutsummaryrefslogtreecommitdiff
path: root/include/unicode/prop.h
blob: 01283e8e75be93429d676ed96daa98f598d6147b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
#ifndef MLIB_UNICODE_PROP_H
#define MLIB_UNICODE_PROP_H

#include <inttypes.h>
#include <stddef.h>

#include "_attrs.h"
#include "_rune.h"
#include "_u8view.h"

struct rview {
	const rune *p;
	size_t len;
};

/* clang-format off */

struct lcctx {
	bool az_or_tr : 1; /* Azeri or Turkish */
	bool lt       : 1; /* Lithuanian */

	bool after_I    : 1; /* After ‘I’ */
	bool before_acc : 1; /* Before accent on ‘i’ or ‘j’ in Lithuanian */
	bool before_dot : 1; /* Before U+0307 */
	bool eow        : 1; /* End of word */
};

struct tcctx {
	bool az_or_tr : 1; /* Azeri or Turkish */
	bool lt       : 1; /* Lithuanian */

	bool after_i : 1; /* After ‘i’ */
};

struct ucctx {
	bool az_or_tr : 1; /* Azeri or Turkish */
	bool lt       : 1; /* Lithuanian */

	bool        : 1; /* Uppercase ‘ß’ into ‘ẞ’ (instead of ‘SS’) */
	bool after_i : 1; /* After ‘i’ */
};

/* clang-format on */

enum uprop_age : uint_least16_t {
	AGE_NA = 0, /* Not Assigned */
	AGE_V1_1 = (1 << 8) | 1,
	AGE_V2_0 = (2 << 8) | 0,
	AGE_V2_1 = (2 << 8) | 1,
	AGE_V3_0 = (3 << 8) | 0,
	AGE_V3_1 = (3 << 8) | 1,
	AGE_V3_2 = (3 << 8) | 2,
	AGE_V4_0 = (4 << 8) | 0,
	AGE_V4_1 = (4 << 8) | 1,
	AGE_V5_0 = (5 << 8) | 0,
	AGE_V5_1 = (5 << 8) | 1,
	AGE_V5_2 = (5 << 8) | 2,
	AGE_V6_0 = (6 << 8) | 0,
	AGE_V6_1 = (6 << 8) | 1,
	AGE_V6_2 = (6 << 8) | 2,
	AGE_V6_3 = (6 << 8) | 3,
	AGE_V7_0 = (7 << 8) | 0,
	AGE_V8_0 = (8 << 8) | 0,
	AGE_V9_0 = (9 << 8) | 0,
	AGE_V10_0 = (10 << 8) | 0,
	AGE_V11_0 = (11 << 8) | 0,
	AGE_V12_0 = (12 << 8) | 0,
	AGE_V12_1 = (12 << 8) | 1,
	AGE_V13_0 = (13 << 8) | 0,
	AGE_V14_0 = (14 << 8) | 0,
	AGE_V15_0 = (15 << 8) | 0,
	AGE_V15_1 = (15 << 8) | 1,
};

[[_mlib_pure, _mlib_inline]]
static inline int
uprop_age_major(enum uprop_age a)
{
	return a >> 8;
}

[[_mlib_pure, _mlib_inline]]
static inline int
uprop_age_minor(enum uprop_age a)
{
	return a & 0xFF;
}

enum uprop_bc {
	BC_AL,  /* Arabic Letter */
	BC_AN,  /* Arabic Number */
	BC_B,   /* Paragraph Separator */
	BC_BN,  /* Boundary Neutral */
	BC_CS,  /* Common Separator */
	BC_EN,  /* European Number */
	BC_ES,  /* European Separator */
	BC_ET,  /* European Terminator */
	BC_FSI, /* First Strong Isolate */
	BC_L,   /* Left To Right */
	BC_LRE, /* Left To Right Embedding */
	BC_LRI, /* Left To Right Isolate */
	BC_LRO, /* Left To Right Override */
	BC_NSM, /* Nonspacing Mark */
	BC_ON,  /* Other Neutral */
	BC_PDF, /* Pop Directional Format */
	BC_PDI, /* Pop Directional Isolate */
	BC_R,   /* Right To Left */
	BC_RLE, /* Right To Left Embedding */
	BC_RLI, /* Right To Left Isolate */
	BC_RLO, /* Right To Left Override */
	BC_S,   /* Segment Separator */
	BC_WS,  /* White Space */
};

enum uprop_blk {
	BLK_NB = 0,                    /* No Block */
	BLK_ADLAM,                     /* Adlam */
	BLK_AEGEAN_NUMBERS,            /* Aegean Numbers */
	BLK_AHOM,                      /* Ahom */
	BLK_ALCHEMICAL,                /* Alchemical Symbols */
	BLK_ALPHABETIC_PF,             /* Alphabetic Presentation Forms */
	BLK_ANATOLIAN_HIEROGLYPHS,     /* Anatolian Hieroglyphs */
	BLK_ANCIENT_GREEK_MUSIC,       /* Ancient Greek Musical Notation */
	BLK_ANCIENT_GREEK_NUMBERS,     /* Ancient Greek Numbers */
	BLK_ANCIENT_SYMBOLS,           /* Ancient Symbols */
	BLK_ARABIC,                    /* Arabic */
	BLK_ARABIC_EXT_A,              /* Arabic Extended-A */
	BLK_ARABIC_EXT_B,              /* Arabic Extended-B */
	BLK_ARABIC_EXT_C,              /* Arabic Extended-C */
	BLK_ARABIC_MATH,               /* Arabic Mathematical Alphabetic Symbols */
	BLK_ARABIC_PF_A,               /* Arabic Presentation Forms-A */
	BLK_ARABIC_PF_B,               /* Arabic Presentation Forms-B */
	BLK_ARABIC_SUP,                /* Arabic Supplement */
	BLK_ARMENIAN,                  /* Armenian */
	BLK_ARROWS,                    /* Arrows */
	BLK_ASCII,                     /* Basic Latin */
	BLK_AVESTAN,                   /* Avestan */
	BLK_BALINESE,                  /* Balinese */
	BLK_BAMUM,                     /* Bamum */
	BLK_BAMUM_SUP,                 /* Bamum Supplement */
	BLK_BASSA_VAH,                 /* Bassa Vah */
	BLK_BATAK,                     /* Batak */
	BLK_BENGALI,                   /* Bengali */
	BLK_BHAIKSUKI,                 /* Bhaiksuki */
	BLK_BLOCK_ELEMENTS,            /* Block Elements */
	BLK_BOPOMOFO,                  /* Bopomofo */
	BLK_BOPOMOFO_EXT,              /* Bopomofo Extended */
	BLK_BOX_DRAWING,               /* Box Drawing */
	BLK_BRAHMI,                    /* Brahmi */
	BLK_BRAILLE,                   /* Braille Patterns */
	BLK_BUGINESE,                  /* Buginese */
	BLK_BUHID,                     /* Buhid */
	BLK_BYZANTINE_MUSIC,           /* Byzantine Musical Symbols */
	BLK_CARIAN,                    /* Carian */
	BLK_CAUCASIAN_ALBANIAN,        /* Caucasian Albanian */
	BLK_CHAKMA,                    /* Chakma */
	BLK_CHAM,                      /* Cham */
	BLK_CHEROKEE,                  /* Cherokee */
	BLK_CHEROKEE_SUP,              /* Cherokee Supplement */
	BLK_CHESS_SYMBOLS,             /* Chess Symbols */
	BLK_CHORASMIAN,                /* Chorasmian */
	BLK_CJK,                       /* CJK Unified Ideographs */
	BLK_CJK_COMPAT,                /* CJK Compatibility */
	BLK_CJK_COMPAT_FORMS,          /* CJK Compatibility Forms */
	BLK_CJK_COMPAT_IDEOGRAPHS,     /* CJK Compatibility Ideographs */
	BLK_CJK_COMPAT_IDEOGRAPHS_SUP, /* CJK Compatibility Ideographs Supplement */
	BLK_CJK_EXT_A,                 /* CJK Unified Ideographs Extension-A */
	BLK_CJK_EXT_B,                 /* CJK Unified Ideographs Extension-B */
	BLK_CJK_EXT_C,                 /* CJK Unified Ideographs Extension-C */
	BLK_CJK_EXT_D,                 /* CJK Unified Ideographs Extension-D */
	BLK_CJK_EXT_E,                 /* CJK Unified Ideographs Extension-E */
	BLK_CJK_EXT_F,                 /* CJK Unified Ideographs Extension-F */
	BLK_CJK_EXT_G,                 /* CJK Unified Ideographs Extension-G */
	BLK_CJK_EXT_H,                 /* CJK Unified Ideographs Extension-H */
	BLK_CJK_EXT_I,                 /* CJK Unified Ideographs Extension-I */
	BLK_CJK_RADICALS_SUP,          /* CJK Radicals Supplement */
	BLK_CJK_STROKES,               /* CJK Strokes */
	BLK_CJK_SYMBOLS,               /* CJK Symbols and Punctuation */
	BLK_COMPAT_JAMO,               /* Hangul Compatibility Jamo */
	BLK_CONTROL_PICTURES,          /* Control Pictures */
	BLK_COPTIC,                    /* Coptic */
	BLK_COPTIC_EPACT_NUMBERS,      /* Coptic Epact Numbers */
	BLK_COUNTING_ROD,              /* Counting Rod Numerals */
	BLK_CUNEIFORM,                 /* Cuneiform */
	BLK_CUNEIFORM_NUMBERS,         /* Cuneiform Numbers And Punctuation */
	BLK_CURRENCY_SYMBOLS,          /* Currency Symbols */
	BLK_CYPRIOT_SYLLABARY,         /* Cypriot Syllabary */
	BLK_CYPRO_MINOAN,              /* Cypro Minoan */
	BLK_CYRILLIC,                  /* Cyrillic */
	BLK_CYRILLIC_EXT_A,            /* Cyrillic Extended-A */
	BLK_CYRILLIC_EXT_B,            /* Cyrillic Extended-B */
	BLK_CYRILLIC_EXT_C,            /* Cyrillic Extended-C */
	BLK_CYRILLIC_EXT_D,            /* Cyrillic Extended-D */
	BLK_CYRILLIC_SUP,              /* Cyrillic Supplement */
	BLK_DESERET,                   /* Deseret */
	BLK_DEVANAGARI,                /* Devanagari */
	BLK_DEVANAGARI_EXT,            /* Devanagari Extended */
	BLK_DEVANAGARI_EXT_A,          /* Devanagari Extended-A */
	BLK_DIACRITICALS,              /* Combining Diacritical Marks */
	BLK_DIACRITICALS_EXT,          /* Combining Diacritical Marks Extended */
	BLK_DIACRITICALS_FOR_SYMBOLS,  /* Combining Diacritical Marks for Symbols */
	BLK_DIACRITICALS_SUP,          /* Combining Diacritical Marks Supplement */
	BLK_DINGBATS,                  /* Dingbats */
	BLK_DIVES_AKURU,               /* Dives Akuru */
	BLK_DOGRA,                     /* Dogra */
	BLK_DOMINO,                    /* Domino Tiles */
	BLK_DUPLOYAN,                  /* Duployan */
	BLK_EARLY_DYNASTIC_CUNEIFORM,  /* Early Dynastic Cuneiform */
	BLK_EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS, /* Egyptian Hieroglyph Format
	                                          * Controls
	                                          */
	BLK_EGYPTIAN_HIEROGLYPHS,                /* Egyptian Hieroglyphs */
	BLK_ELBASAN,                             /* Elbasan */
	BLK_ELYMAIC,                             /* Elymaic */
	BLK_EMOTICONS,                           /* Emoticons */
	BLK_ENCLOSED_ALPHANUM,                   /* Enclosed Alphanumerics */
	BLK_ENCLOSED_ALPHANUM_SUP,       /* Enclosed Alphanumeric Supplement */
	BLK_ENCLOSED_CJK,                /* Enclosed CJK Letters and Months */
	BLK_ENCLOSED_IDEOGRAPHIC_SUP,    /* Enclosed Ideographic Supplement */
	BLK_ETHIOPIC,                    /* Ethiopic */
	BLK_ETHIOPIC_EXT,                /* Ethiopic Extended */
	BLK_ETHIOPIC_EXT_A,              /* Ethiopic Extended-A */
	BLK_ETHIOPIC_EXT_B,              /* Ethiopic Extended-B */
	BLK_ETHIOPIC_SUP,                /* Ethiopic Supplement */
	BLK_GEOMETRIC_SHAPES,            /* Geometric Shapes */
	BLK_GEOMETRIC_SHAPES_EXT,        /* Geometric Shapes Extended */
	BLK_GEORGIAN,                    /* Georgian */
	BLK_GEORGIAN_EXT,                /* Georgian Extended */
	BLK_GEORGIAN_SUP,                /* Georgian Supplement */
	BLK_GLAGOLITIC,                  /* Glagolitic */
	BLK_GLAGOLITIC_SUP,              /* Glagolitic Supplement */
	BLK_GOTHIC,                      /* Gothic */
	BLK_GRANTHA,                     /* Grantha */
	BLK_GREEK,                       /* Greek and Coptic */
	BLK_GREEK_EXT,                   /* Greek Extended */
	BLK_GUJARATI,                    /* Gujarati */
	BLK_GUNJALA_GONDI,               /* Gunjala Gondi */
	BLK_GURMUKHI,                    /* Gurmukhi */
	BLK_HALF_AND_FULL_FORMS,         /* Halfwidth and Fullwidth Forms */
	BLK_HALF_MARKS,                  /* Combining Half Marks */
	BLK_HANGUL,                      /* Hangul Syllables */
	BLK_HANIFI_ROHINGYA,             /* Hanifi Rohingya */
	BLK_HANUNOO,                     /* Hanunoo */
	BLK_HATRAN,                      /* Hatran */
	BLK_HEBREW,                      /* Hebrew */
	BLK_HIGH_PU_SURROGATES,          /* High Private Use Surrogates */
	BLK_HIGH_SURROGATES,             /* High Surrogates */
	BLK_HIRAGANA,                    /* Hiragana */
	BLK_IDC,                         /* Ideographic Description Characters */
	BLK_IDEOGRAPHIC_SYMBOLS,         /* Ideographic Symbols and Punctuation */
	BLK_IMPERIAL_ARAMAIC,            /* Imperial Aramaic */
	BLK_INDIC_NUMBER_FORMS,          /* Common Indic Number Forms */
	BLK_INDIC_SIYAQ_NUMBERS,         /* Indic Siyaq Numbers */
	BLK_INSCRIPTIONAL_PAHLAVI,       /* Inscriptional Pahlavi */
	BLK_INSCRIPTIONAL_PARTHIAN,      /* Inscriptional Parthian */
	BLK_IPA_EXT,                     /* IPA Extensions */
	BLK_JAMO,                        /* Hangul Jamo */
	BLK_JAMO_EXT_A,                  /* Hangul Jamo Extended-A */
	BLK_JAMO_EXT_B,                  /* Hangul Jamo Extended-B */
	BLK_JAVANESE,                    /* Javanese */
	BLK_KAITHI,                      /* Kaithi */
	BLK_KAKTOVIK_NUMERALS,           /* Kaktovik Numerals */
	BLK_KANA_EXT_A,                  /* Kana Extended-A */
	BLK_KANA_EXT_B,                  /* Kana Extended-B */
	BLK_KANA_SUP,                    /* Kana Supplement */
	BLK_KANBUN,                      /* Kanbun */
	BLK_KANGXI,                      /* Kangxi Radicals */
	BLK_KANNADA,                     /* Kannada */
	BLK_KATAKANA,                    /* Katakana */
	BLK_KATAKANA_EXT,                /* Katakana Phonetic Extensions */
	BLK_KAWI,                        /* Kawi */
	BLK_KAYAH_LI,                    /* Kayah Li */
	BLK_KHAROSHTHI,                  /* Kharoshthi */
	BLK_KHITAN_SMALL_SCRIPT,         /* Khitan Small Script */
	BLK_KHMER,                       /* Khmer */
	BLK_KHMER_SYMBOLS,               /* Khmer Symbols */
	BLK_KHOJKI,                      /* Khojki */
	BLK_KHUDAWADI,                   /* Khudawadi */
	BLK_LAO,                         /* Lao */
	BLK_LATIN_1_SUP,                 /* Latin-1 Supplement */
	BLK_LATIN_EXT_A,                 /* Latin Extended-A */
	BLK_LATIN_EXT_ADDITIONAL,        /* Latin Extended Additional */
	BLK_LATIN_EXT_B,                 /* Latin Extended-B */
	BLK_LATIN_EXT_C,                 /* Latin Extended-C */
	BLK_LATIN_EXT_D,                 /* Latin Extended-D */
	BLK_LATIN_EXT_E,                 /* Latin Extended-E */
	BLK_LATIN_EXT_F,                 /* Latin Extended-F */
	BLK_LATIN_EXT_G,                 /* Latin Extended-G */
	BLK_LEPCHA,                      /* Lepcha */
	BLK_LETTERLIKE_SYMBOLS,          /* Letterlike Symbols */
	BLK_LIMBU,                       /* Limbu */
	BLK_LINEAR_A,                    /* Linear A */
	BLK_LINEAR_B_IDEOGRAMS,          /* Linear B Ideograms */
	BLK_LINEAR_B_SYLLABARY,          /* Linear B Syllabary */
	BLK_LISU,                        /* Lisu */
	BLK_LISU_SUP,                    /* Lisu Supplement */
	BLK_LOW_SURROGATES,              /* Low Surrogates */
	BLK_LYCIAN,                      /* Lycian */
	BLK_LYDIAN,                      /* Lydian */
	BLK_MAHAJANI,                    /* Mahajani */
	BLK_MAHJONG,                     /* Mahjong Tiles */
	BLK_MAKASAR,                     /* Makasar */
	BLK_MALAYALAM,                   /* Malayalam */
	BLK_MANDAIC,                     /* Mandaic */
	BLK_MANICHAEAN,                  /* Manichaean */
	BLK_MARCHEN,                     /* Marchen */
	BLK_MASARAM_GONDI,               /* Masaram Gondi */
	BLK_MATH_ALPHANUM,               /* Mathematical Alphanumeric Symbols */
	BLK_MATH_OPERATORS,              /* Mathematical Operators */
	BLK_MAYAN_NUMERALS,              /* Mayan Numerals */
	BLK_MEDEFAIDRIN,                 /* Medefaidrin */
	BLK_MEETEI_MAYEK,                /* Meetei Mayek */
	BLK_MEETEI_MAYEK_EXT,            /* Meetei Mayek Extensions */
	BLK_MENDE_KIKAKUI,               /* Mende Kikakui */
	BLK_MEROITIC_CURSIVE,            /* Meroitic Cursive */
	BLK_MEROITIC_HIEROGLYPHS,        /* Meroitic Hieroglyphs */
	BLK_MIAO,                        /* Miao */
	BLK_MISC_ARROWS,                 /* Miscellaneous Symbols And Arrows */
	BLK_MISC_MATH_SYMBOLS_A,         /* Miscellaneous Mathematical Symbols-A */
	BLK_MISC_MATH_SYMBOLS_B,         /* Miscellaneous Mathematical Symbols-B */
	BLK_MISC_PICTOGRAPHS,            /* Miscellaneous Symbols And Pictographs */
	BLK_MISC_SYMBOLS,                /* Miscellaneous Symbols */
	BLK_MISC_TECHNICAL,              /* Miscellaneous Technical */
	BLK_MODI,                        /* Modi */
	BLK_MODIFIER_LETTERS,            /* Spacing Modifier Letters */
	BLK_MODIFIER_TONE_LETTERS,       /* Modifier Tone Letters */
	BLK_MONGOLIAN,                   /* Mongolian */
	BLK_MONGOLIAN_SUP,               /* Mongolian Supplement */
	BLK_MRO,                         /* Mro */
	BLK_MULTANI,                     /* Multani */
	BLK_MUSIC,                       /* Musical Symbols */
	BLK_MYANMAR,                     /* Myanmar */
	BLK_MYANMAR_EXT_A,               /* Myanmar Extended-A */
	BLK_MYANMAR_EXT_B,               /* Myanmar Extended-B */
	BLK_NABATAEAN,                   /* Nabataean */
	BLK_NAG_MUNDARI,                 /* Nag Mundari */
	BLK_NANDINAGARI,                 /* Nandinagari */
	BLK_NEW_TAI_LUE,                 /* New Tai Lue */
	BLK_NEWA,                        /* Newa */
	BLK_NKO,                         /* NKo */
	BLK_NUMBER_FORMS,                /* Number Forms */
	BLK_NUSHU,                       /* Nushu */
	BLK_NYIAKENG_PUACHUE_HMONG,      /* Nyiakeng Puachue Hmong */
	BLK_OCR,                         /* Optical Character Recognition */
	BLK_OGHAM,                       /* Ogham */
	BLK_OL_CHIKI,                    /* Ol Chiki */
	BLK_OLD_HUNGARIAN,               /* Old Hungarian */
	BLK_OLD_ITALIC,                  /* Old Italic */
	BLK_OLD_NORTH_ARABIAN,           /* Old North Arabian */
	BLK_OLD_PERMIC,                  /* Old Permic */
	BLK_OLD_PERSIAN,                 /* Old Persian */
	BLK_OLD_SOGDIAN,                 /* Old Sogdian */
	BLK_OLD_SOUTH_ARABIAN,           /* Old South Arabian */
	BLK_OLD_TURKIC,                  /* Old Turkic */
	BLK_OLD_UYGHUR,                  /* Old Uyghur */
	BLK_ORIYA,                       /* Oriya */
	BLK_ORNAMENTAL_DINGBATS,         /* Ornamental Dingbats */
	BLK_OSAGE,                       /* Osage */
	BLK_OSMANYA,                     /* Osmanya */
	BLK_OTTOMAN_SIYAQ_NUMBERS,       /* Ottoman Siyaq Numbers */
	BLK_PAHAWH_HMONG,                /* Pahawh Hmong */
	BLK_PALMYRENE,                   /* Palmyrene */
	BLK_PAU_CIN_HAU,                 /* Pau Cin Hau */
	BLK_PHAGS_PA,                    /* Phags Pa */
	BLK_PHAISTOS,                    /* Phaistos Disc */
	BLK_PHOENICIAN,                  /* Phoenician */
	BLK_PHONETIC_EXT,                /* Phonetic Extensions */
	BLK_PHONETIC_EXT_SUP,            /* Phonetic Extensions Supplement */
	BLK_PLAYING_CARDS,               /* Playing Cards */
	BLK_PSALTER_PAHLAVI,             /* Psalter Pahlavi */
	BLK_PUA,                         /* Private Use Area */
	BLK_PUNCTUATION,                 /* General Punctuation */
	BLK_REJANG,                      /* Rejang */
	BLK_RUMI,                        /* Rumi Numeral Symbols */
	BLK_RUNIC,                       /* Runic */
	BLK_SAMARITAN,                   /* Samaritan */
	BLK_SAURASHTRA,                  /* Saurashtra */
	BLK_SHARADA,                     /* Sharada */
	BLK_SHAVIAN,                     /* Shavian */
	BLK_SHORTHAND_FORMAT_CONTROLS,   /* Shorthand Format Controls */
	BLK_SIDDHAM,                     /* Siddham */
	BLK_SINHALA,                     /* Sinhala */
	BLK_SINHALA_ARCHAIC_NUMBERS,     /* Sinhala Archaic Numbers */
	BLK_SMALL_FORMS,                 /* Small Form Variants */
	BLK_SMALL_KANA_EXT,              /* Small Kana Extension */
	BLK_SOGDIAN,                     /* Sogdian */
	BLK_SORA_SOMPENG,                /* Sora_Sompeng */
	BLK_SOYOMBO,                     /* Soyombo */
	BLK_SPECIALS,                    /* Specials */
	BLK_SUNDANESE,                   /* Sundanese */
	BLK_SUNDANESE_SUP,               /* Sundanese Supplement */
	BLK_SUP_ARROWS_A,                /* Supplemental Arrows-A */
	BLK_SUP_ARROWS_B,                /* Supplemental Arrows-B */
	BLK_SUP_ARROWS_C,                /* Supplemental Arrows-C */
	BLK_SUP_MATH_OPERATORS,          /* Supplemental Mathematical Operators */
	BLK_SUP_PUA_A,                   /* Supplementary Private Use Area-A */
	BLK_SUP_PUA_B,                   /* Supplementary Private Use Area-B */
	BLK_SUP_PUNCTUATION,             /* Supplemental Punctuation */
	BLK_SUP_SYMBOLS_AND_PICTOGRAPHS, /* Supplemental Symbols And Pictographs */
	BLK_SUPER_AND_SUB,               /* Superscripts And Subscripts */
	BLK_SUTTON_SIGNWRITING,          /* Sutton SignWriting */
	BLK_SYLOTI_NAGRI,                /* Syloti Nagri */
	BLK_SYMBOLS_AND_PICTOGRAPHS_EXT_A, /* Symbols And Pictographs Extended-A */
	BLK_SYMBOLS_FOR_LEGACY_COMPUTING,  /* Symbols For Legacy Computing */
	BLK_SYRIAC,                        /* Syriac */
	BLK_SYRIAC_SUP,                    /* Syriac Supplement */
	BLK_TAGALOG,                       /* Tagalog */
	BLK_TAGBANWA,                      /* Tagbanwa */
	BLK_TAGS,                          /* Tags */
	BLK_TAI_LE,                        /* Tai Le */
	BLK_TAI_THAM,                      /* Tai Tham */
	BLK_TAI_VIET,                      /* Tai Viet */
	BLK_TAI_XUAN_JING,                 /* Tai Xuan Jing Symbols */
	BLK_TAKRI,                         /* Takri */
	BLK_TAMIL,                         /* Tamil */
	BLK_TAMIL_SUP,                     /* Tamil Supplement */
	BLK_TANGSA,                        /* Tangsa */
	BLK_TANGUT,                        /* Tangut */
	BLK_TANGUT_COMPONENTS,             /* Tangut Components */
	BLK_TANGUT_SUP,                    /* Tangut Supplement */
	BLK_TELUGU,                        /* Telugu */
	BLK_THAANA,                        /* Thaana */
	BLK_THAI,                          /* Thai */
	BLK_TIBETAN,                       /* Tibetan */
	BLK_TIFINAGH,                      /* Tifinagh */
	BLK_TIRHUTA,                       /* Tirhuta */
	BLK_TOTO,                          /* Toto */
	BLK_TRANSPORT_AND_MAP,             /* Transport And Map Symbols */
	BLK_UCAS,             /* Unified Canadian Aboriginal Syllabics */
	BLK_UCAS_EXT,         /* Unified Canadian Aboriginal Syllabics Extended */
	BLK_UCAS_EXT_A,       /* Unified Canadian Aboriginal Syllabics Extended-A */
	BLK_UGARITIC,         /* Ugaritic */
	BLK_VAI,              /* Vai */
	BLK_VEDIC_EXT,        /* Vedic Extensions */
	BLK_VERTICAL_FORMS,   /* Vertical_Forms */
	BLK_VITHKUQI,         /* Vithkuqi */
	BLK_VS,               /* Variation Selectors */
	BLK_VS_SUP,           /* Variation Selectors Supplement */
	BLK_WANCHO,           /* Wancho */
	BLK_WARANG_CITI,      /* Warang Citi */
	BLK_YEZIDI,           /* Yezidi */
	BLK_YI_RADICALS,      /* Yi Radicals */
	BLK_YI_SYLLABLES,     /* Yi Syllables */
	BLK_YIJING,           /* Yijing Hexagram Symbols */
	BLK_ZANABAZAR_SQUARE, /* Zanabazar Square */
	BLK_ZNAMENNY_MUSIC,   /* Znamenny Musical Notation */
};

enum uprop_bpt {
	BPT_N, /* None */
	BPT_C, /* Close */
	BPT_O, /* Open */
};

enum uprop_dt {
	DT_NONE, /* None */
	DT_CAN,  /* Canonical */
	DT_COM,  /* Compat */
	DT_ENC,  /* Circle */
	DT_FIN,  /* Final */
	DT_FONT, /* Font */
	DT_FRA,  /* Fraction */
	DT_INIT, /* Initial */
	DT_ISO,  /* Isolated */
	DT_MED,  /* Medial */
	DT_NAR,  /* Narrow */
	DT_NB,   /* Nobreak */
	DT_SML,  /* Small */
	DT_SQR,  /* Square */
	DT_SUB,  /* Sub */
	DT_SUP,  /* Super */
	DT_VERT, /* Vertical */
	DT_WIDE, /* Wide */
};

enum uprop_ea {
	EA_A,  /* Ambiguous */
	EA_F,  /* Fullwidth */
	EA_H,  /* Halfwidth */
	EA_NA, /* Wide */
	EA_N,  /* Neutral */
	EA_W,  /* Narrow */
};

enum [[clang::flag_enum]] uprop_gc : uint_least32_t {
	GC_CN = UINT32_C(1) << 0,  /* Not Assigned */
	GC_CC = UINT32_C(1) << 1,  /* Control */
	GC_CF = UINT32_C(1) << 2,  /* Format */
	GC_CO = UINT32_C(1) << 3,  /* Private Use */
	GC_CS = UINT32_C(1) << 4,  /* Surrogate */
	GC_LL = UINT32_C(1) << 5,  /* Lowercase Letter */
	GC_LM = UINT32_C(1) << 6,  /* Modifier Letter */
	GC_LO = UINT32_C(1) << 7,  /* Other Letter */
	GC_LT = UINT32_C(1) << 8,  /* Titlecase Letter */
	GC_LU = UINT32_C(1) << 9,  /* Uppercase Letter */
	GC_MC = UINT32_C(1) << 10, /* Spacing Mark */
	GC_ME = UINT32_C(1) << 11, /* Enclosing Mark */
	GC_MN = UINT32_C(1) << 12, /* Nonspacing Mark */
	GC_ND = UINT32_C(1) << 13, /* Decimal Number */
	GC_NL = UINT32_C(1) << 14, /* Letter Number */
	GC_NO = UINT32_C(1) << 15, /* Other Number */
	GC_PC = UINT32_C(1) << 16, /* Connector Punctuation */
	GC_PD = UINT32_C(1) << 17, /* Dash Punctuation */
	GC_PE = UINT32_C(1) << 18, /* Close Punctuation */
	GC_PF = UINT32_C(1) << 19, /* Final Punctuation */
	GC_PI = UINT32_C(1) << 20, /* Initial Punctuation */
	GC_PO = UINT32_C(1) << 21, /* Other Punctuation */
	GC_PS = UINT32_C(1) << 22, /* Open Punctuation */
	GC_SC = UINT32_C(1) << 23, /* Currency Symbol */
	GC_SK = UINT32_C(1) << 24, /* Modifier Symbol */
	GC_SM = UINT32_C(1) << 25, /* Math Symbol */
	GC_SO = UINT32_C(1) << 26, /* Other Symbol */
	GC_ZL = UINT32_C(1) << 27, /* Line Separator */
	GC_ZP = UINT32_C(1) << 28, /* Paragraph Separator */
	GC_ZS = UINT32_C(1) << 29, /* Space Separator */

	/* Punctuation */
	GC_P = GC_PC | GC_PD | GC_PE | GC_PF | GC_PI | GC_PO | GC_PS,
	GC_C = GC_CC | GC_CF | GC_CN | GC_CO | GC_CS, /* Other */
	GC_LC = GC_LU | GC_LL | GC_LT,                /* Cased Letter */
	GC_L = GC_LL | GC_LM | GC_LO | GC_LT | GC_LU, /* Letter */
	GC_M = GC_MC | GC_ME | GC_MN,                 /* Mark */
	GC_N = GC_ND | GC_NL | GC_NO,                 /* Number */
	GC_S = GC_SC | GC_SK | GC_SM | GC_SO,         /* Symbol */
	GC_Z = GC_ZL | GC_ZP | GC_ZS,                 /* Separator */
};

enum uprop_lb {
	LB_XX,  /* Unknown */
	LB_AI,  /* Ambiguous */
	LB_AK,  /* Aksara */
	LB_AL,  /* Alphabetic */
	LB_AP,  /* Aksara Prebase */
	LB_AS,  /* Aksara Start */
	LB_B2,  /* Break Both */
	LB_BA,  /* Break After */
	LB_BB,  /* Break Before */
	LB_BK,  /* Mandatory Break */
	LB_CB,  /* Contingent Break */
	LB_CJ,  /* Conditional Japanese_Starter */
	LB_CL,  /* Close Punctuation */
	LB_CM,  /* Combining Mark */
	LB_CP,  /* Close Parenthesis */
	LB_CR,  /* Carriage Return */
	LB_EB,  /* E Base */
	LB_EM,  /* E Modifier */
	LB_EX,  /* Exclamation */
	LB_GL,  /* Glue */
	LB_H2,  /* H2 */
	LB_H3,  /* H3 */
	LB_HL,  /* Hebrew Letter */
	LB_HY,  /* Hyphen */
	LB_ID,  /* Ideographic */
	LB_IN,  /* Inseparable */
	LB_IS,  /* Infix Numeric */
	LB_JL,  /* JL */
	LB_JT,  /* JT */
	LB_JV,  /* JV */
	LB_LF,  /* Line Feed */
	LB_NL,  /* Next Line */
	LB_NS,  /* Nonstarter */
	LB_NU,  /* Numeric */
	LB_OP,  /* Open Punctuation */
	LB_PO,  /* Postfix Numeric */
	LB_PR,  /* Prefix Numeric */
	LB_QU,  /* Quotation */
	LB_RI,  /* Regional Indicator */
	LB_SA,  /* Complex Context */
	LB_SG,  /* Surrogate */
	LB_SP,  /* Space */
	LB_SY,  /* Break Symbols */
	LB_VF,  /* Virama Final */
	LB_VI,  /* Virama */
	LB_WJ,  /* Word Joiner */
	LB_ZWJ, /* ZWJ */
	LB_ZW,  /* ZWSpace */
};

enum uprop_nt {
	NT_NONE, /* None */
	NT_DE,   /* Decimal */
	NT_DI,   /* Digit */
	NT_NU,   /* Numeric */
};

enum uprop_sc {
	SC_ZZZZ = 0, /* Unknown */
	SC_ADLM,     /* Adlam */
	SC_AGHB,     /* Caucasian Albanian */
	SC_AHOM,     /* Ahom */
	SC_ARAB,     /* Arabic */
	SC_ARMI,     /* Imperial Aramaic */
	SC_ARMN,     /* Armenian */
	SC_AVST,     /* Avestan */
	SC_BALI,     /* Balinese */
	SC_BAMU,     /* Bamum */
	SC_BASS,     /* Bassa Vah */
	SC_BATK,     /* Batak */
	SC_BENG,     /* Bengali */
	SC_BHKS,     /* Bhaiksuki */
	SC_BOPO,     /* Bopomofo */
	SC_BRAH,     /* Brahmi */
	SC_BRAI,     /* Braille */
	SC_BUGI,     /* Buginese */
	SC_BUHD,     /* Buhid */
	SC_CAKM,     /* Chakma */
	SC_CANS,     /* Canadian Aboriginal */
	SC_CARI,     /* Carian */
	SC_CHAM,     /* Cham */
	SC_CHER,     /* Cherokee */
	SC_CHRS,     /* Chorasmian */
	SC_COPT,     /* Coptic */
	SC_CPMN,     /* Cypro Minoan */
	SC_CPRT,     /* Cypriot */
	SC_CYRL,     /* Cyrillic */
	SC_DEVA,     /* Devanagari */
	SC_DIAK,     /* Dives Akuru */
	SC_DOGR,     /* Dogra */
	SC_DSRT,     /* Deseret */
	SC_DUPL,     /* Duployan */
	SC_EGYP,     /* Egyptian Hieroglyphs */
	SC_ELBA,     /* Elbasan */
	SC_ELYM,     /* Elymaic */
	SC_ETHI,     /* Ethiopic */
	SC_GEOR,     /* Georgian */
	SC_GLAG,     /* Glagolitic */
	SC_GONG,     /* Gunjala Gondi */
	SC_GONM,     /* Masaram Gondi */
	SC_GOTH,     /* Gothic */
	SC_GRAN,     /* Grantha */
	SC_GREK,     /* Greek */
	SC_GUJR,     /* Gujarati */
	SC_GURU,     /* Gurmukhi */
	SC_HANG,     /* Hangul */
	SC_HANI,     /* Han */
	SC_HANO,     /* Hanunoo */
	SC_HATR,     /* Hatran */
	SC_HEBR,     /* Hebrew */
	SC_HIRA,     /* Hiragana */
	SC_HLUW,     /* Anatolian Hieroglyphs */
	SC_HMNG,     /* Pahawh Hmong */
	SC_HMNP,     /* Nyiakeng Puachue Hmong */
	SC_HRKT,     /* Katakana or Hiragana */
	SC_HUNG,     /* Old Hungarian */
	SC_ITAL,     /* Old Italic */
	SC_JAVA,     /* Javanese */
	SC_KALI,     /* Kayah Li */
	SC_KANA,     /* Katakana */
	SC_KAWI,     /* Kawi */
	SC_KHAR,     /* Kharoshthi */
	SC_KHMR,     /* Khmer */
	SC_KHOJ,     /* Khojki */
	SC_KITS,     /* Khitan Small Script */
	SC_KNDA,     /* Kannada */
	SC_KTHI,     /* Kaithi */
	SC_LANA,     /* Tai Tham */
	SC_LAOO,     /* Lao */
	SC_LATN,     /* Latin */
	SC_LEPC,     /* Lepcha */
	SC_LIMB,     /* Limbu */
	SC_LINA,     /* Linear-A */
	SC_LINB,     /* Linear-B */
	SC_LISU,     /* Lisu */
	SC_LYCI,     /* Lycian */
	SC_LYDI,     /* Lydian */
	SC_MAHJ,     /* Mahajani */
	SC_MAKA,     /* Makasar */
	SC_MAND,     /* Mandaic */
	SC_MANI,     /* Manichaean */
	SC_MARC,     /* Marchen */
	SC_MEDF,     /* Medefaidrin */
	SC_MEND,     /* Mende Kikakui */
	SC_MERC,     /* Meroitic Cursive */
	SC_MERO,     /* Meroitic Hieroglyphs */
	SC_MLYM,     /* Malayalam */
	SC_MODI,     /* Modi */
	SC_MONG,     /* Mongolian */
	SC_MROO,     /* Mro */
	SC_MTEI,     /* Meetei Mayek */
	SC_MULT,     /* Multani */
	SC_MYMR,     /* Myanmar */
	SC_NAGM,     /* Nag Mundari */
	SC_NAND,     /* Nandinagari */
	SC_NARB,     /* Old North Arabian */
	SC_NBAT,     /* Nabataean */
	SC_NEWA,     /* Newa */
	SC_NKOO,     /* Nko */
	SC_NSHU,     /* Nushu */
	SC_OGAM,     /* Ogham */
	SC_OLCK,     /* Ol Chiki */
	SC_ORKH,     /* Old Turkic */
	SC_ORYA,     /* Oriya */
	SC_OSGE,     /* Osage */
	SC_OSMA,     /* Osmanya */
	SC_OUGR,     /* Old Uyghur */
	SC_PALM,     /* Palmyrene */
	SC_PAUC,     /* Pau Cin Hau */
	SC_PERM,     /* Old Permic */
	SC_PHAG,     /* Phags Pa */
	SC_PHLI,     /* Inscriptional Pahlavi */
	SC_PHLP,     /* Psalter Pahlavi */
	SC_PHNX,     /* Phoenician */
	SC_PLRD,     /* Miao */
	SC_PRTI,     /* Inscriptional Parthian */
	SC_RJNG,     /* Rejang */
	SC_ROHG,     /* Hanifi Rohingya */
	SC_RUNR,     /* Runic */
	SC_SAMR,     /* Samaritan */
	SC_SARB,     /* Old South Arabian */
	SC_SAUR,     /* Saurashtra */
	SC_SGNW,     /* SignWriting */
	SC_SHAW,     /* Shavian */
	SC_SHRD,     /* Sharada */
	SC_SIDD,     /* Siddham */
	SC_SIND,     /* Khudawadi */
	SC_SINH,     /* Sinhala */
	SC_SOGD,     /* Sogdian */
	SC_SOGO,     /* Old Sogdian */
	SC_SORA,     /* Sora Sompeng */
	SC_SOYO,     /* Soyombo */
	SC_SUND,     /* Sundanese */
	SC_SYLO,     /* Syloti Nagri */
	SC_SYRC,     /* Syriac */
	SC_TAGB,     /* Tagbanwa */
	SC_TAKR,     /* Takri */
	SC_TALE,     /* Tai Le */
	SC_TALU,     /* New Tai Lue */
	SC_TAML,     /* Tamil */
	SC_TANG,     /* Tangut */
	SC_TAVT,     /* Tai Viet */
	SC_TELU,     /* Telugu */
	SC_TFNG,     /* Tifinagh */
	SC_TGLG,     /* Tagalog */
	SC_THAA,     /* Thaana */
	SC_THAI,     /* Thai */
	SC_TIBT,     /* Tibetan */
	SC_TIRH,     /* Tirhuta */
	SC_TNSA,     /* Tangsa */
	SC_TOTO,     /* Toto */
	SC_UGAR,     /* Ugaritic */
	SC_VAII,     /* Vai */
	SC_VITH,     /* Vithkuqi */
	SC_WARA,     /* Warang Citi */
	SC_WCHO,     /* Wancho */
	SC_XPEO,     /* Old Persian */
	SC_XSUX,     /* Cuneiform */
	SC_YEZI,     /* Yezidi */
	SC_YIII,     /* Yi */
	SC_ZANB,     /* Zanabazar Square */
	SC_ZINH,     /* Inherited */
	SC_ZYYY,     /* Common */
};

/* Not a Unicode property; but a nice-to-have */
[[_mlib_pure]] struct u8view uprop_blkname(enum uprop_blk);

[[_mlib_pure]] double uprop_get_nv(rune);
[[_mlib_pure]] enum uprop_age uprop_get_age(rune);
[[_mlib_pure]] enum uprop_bc uprop_get_bc(rune);
[[_mlib_pure]] enum uprop_blk uprop_get_blk(rune);
[[_mlib_pure]] enum uprop_bpt uprop_get_bpt(rune);
[[_mlib_pure]] enum uprop_dt uprop_get_dt(rune);
[[_mlib_pure]] enum uprop_ea uprop_get_ea(rune);
[[_mlib_pure]] enum uprop_gc uprop_get_gc(rune);
[[_mlib_pure]] enum uprop_lb uprop_get_lb(rune);
[[_mlib_pure]] enum uprop_nt uprop_get_nt(rune);
[[_mlib_pure]] enum uprop_sc uprop_get_sc(rune);
[[_mlib_pure]] rune uprop_get_bmg(rune);
[[_mlib_pure]] rune uprop_get_bpb(rune);
[[_mlib_pure]] rune uprop_get_scf(rune, bool);
[[_mlib_pure]] rune uprop_get_slc(rune);
[[_mlib_pure]] rune uprop_get_stc(rune);
[[_mlib_pure]] rune uprop_get_suc(rune);
[[_mlib_pure]] struct rview uprop_get_cf(rune, bool);
[[_mlib_pure]] struct rview uprop_get_lc(rune, struct lcctx);
[[_mlib_pure]] struct rview uprop_get_tc(rune, struct tcctx);
[[_mlib_pure]] struct rview uprop_get_uc(rune, struct ucctx);
[[_mlib_pure]] struct u8view uprop_get_na1(rune);
[[_mlib_pure]] struct u8view uprop_get_na(rune);

/* PROP PREDICATES START */
[[_mlib_pure]] bool uprop_is_ahex(rune);
[[_mlib_pure]] bool uprop_is_alpha(rune);
[[_mlib_pure]] bool uprop_is_bidi_c(rune);
[[_mlib_pure]] bool uprop_is_bidi_m(rune);
[[_mlib_pure]] bool uprop_is_cased(rune);
[[_mlib_pure]] bool uprop_is_ci(rune);
[[_mlib_pure]] bool uprop_is_cwcf(rune);
[[_mlib_pure]] bool uprop_is_cwcm(rune);
[[_mlib_pure]] bool uprop_is_cwkcf(rune);
[[_mlib_pure]] bool uprop_is_cwl(rune);
[[_mlib_pure]] bool uprop_is_cwt(rune);
[[_mlib_pure]] bool uprop_is_cwu(rune);
[[_mlib_pure]] bool uprop_is_dash(rune);
[[_mlib_pure]] bool uprop_is_dep(rune);
[[_mlib_pure]] bool uprop_is_di(rune);
[[_mlib_pure]] bool uprop_is_dia(rune);
[[_mlib_pure]] bool uprop_is_ebase(rune);
[[_mlib_pure]] bool uprop_is_ecomp(rune);
[[_mlib_pure]] bool uprop_is_emod(rune);
[[_mlib_pure]] bool uprop_is_emoji(rune);
[[_mlib_pure]] bool uprop_is_epres(rune);
[[_mlib_pure]] bool uprop_is_ext(rune);
[[_mlib_pure]] bool uprop_is_extpic(rune);
[[_mlib_pure]] bool uprop_is_gr_base(rune);
[[_mlib_pure]] bool uprop_is_gr_ext(rune);
[[_mlib_pure]] bool uprop_is_hex(rune);
[[_mlib_pure]] bool uprop_is_id_compat_math_continue(rune);
[[_mlib_pure]] bool uprop_is_id_compat_math_start(rune);
[[_mlib_pure]] bool uprop_is_idc(rune);
[[_mlib_pure]] bool uprop_is_ideo(rune);
[[_mlib_pure]] bool uprop_is_ids(rune);
[[_mlib_pure]] bool uprop_is_idsb(rune);
[[_mlib_pure]] bool uprop_is_incb(rune);
[[_mlib_pure]] bool uprop_is_loe(rune);
[[_mlib_pure]] bool uprop_is_lower(rune);
[[_mlib_pure]] bool uprop_is_math(rune);
[[_mlib_pure]] bool uprop_is_pat_syn(rune);
[[_mlib_pure]] bool uprop_is_pat_ws(rune);
[[_mlib_pure]] bool uprop_is_pcm(rune);
[[_mlib_pure]] bool uprop_is_qmark(rune);
[[_mlib_pure]] bool uprop_is_radical(rune);
[[_mlib_pure]] bool uprop_is_sd(rune);
[[_mlib_pure]] bool uprop_is_sterm(rune);
[[_mlib_pure]] bool uprop_is_term(rune);
[[_mlib_pure]] bool uprop_is_uideo(rune);
[[_mlib_pure]] bool uprop_is_upper(rune);
[[_mlib_pure]] bool uprop_is_vs(rune);
[[_mlib_pure]] bool uprop_is_wspace(rune);
[[_mlib_pure]] bool uprop_is_xidc(rune);
[[_mlib_pure]] bool uprop_is_xids(rune);
/* PROP PREDICATES END */

/* Manually implemented predicates */
[[_mlib_pure]] bool uprop_is_idst(rune);
[[_mlib_pure]] bool uprop_is_idsu(rune);
[[_mlib_pure]] bool uprop_is_join_c(rune);
[[_mlib_pure]] bool uprop_is_nchar(rune);
[[_mlib_pure]] bool uprop_is_ri(rune);

#endif /* !MLIB_UNICODE_PROP_H */