]> gitweb.factorcode.org Git - factor.git/blob - basis/unicode/categories/categories.factor
1e6a7b3a9909c23bf6cdc22201fe65d724a5e486
[factor.git] / basis / unicode / categories / categories.factor
1 ! Copyright (C) 2008 Daniel Ehrenberg.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: unicode.categories.syntax sequences unicode.data ;
4 IN: unicode.categories
5
6 CATEGORY: blank Zs Zl Zp | "\r\n\t" member? ;
7 CATEGORY: letter Ll | "Other_Lowercase" property? ;
8 CATEGORY: LETTER Lu | "Other_Uppercase" property? ;
9 CATEGORY: Letter Lu Ll Lt Lm Lo Nl ;
10 CATEGORY: digit Nd Nl No ;
11 CATEGORY-NOT: printable Cc Cf Cs Co Cn ;
12 CATEGORY: alpha Lu Ll Lt Lm Lo Nd Nl No | "Other_Alphabetic" property? ;
13 CATEGORY: control Cc ;
14 CATEGORY-NOT: uncased Lu Ll Lt Lm Mn Me ;
15 CATEGORY-NOT: character Cn ;
16 CATEGORY: math Sm | "Other_Math" property? ;