Skip to content

Instantly share code, notes, and snippets.

@timo
Last active January 18, 2017 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/f5f2f9cb7c4566f402c0b66387a4444d to your computer and use it in GitHub Desktop.
Save timo/f5f2f9cb7c4566f402c0b66387a4444d to your computer and use it in GitHub Desktop.
my @names = do for 0..0x1FFFF { .uniname unless .uniname.contains("<") or .uniname.contains("CJK") }; @names.join("").trans(/ LETTER | SYLLABLE |HIEROGLYPH | MATHEMATICAL | COMPATIBILITY | CAPITAL | CUNEIFORM | IDEOGRAPH | SMALL | EGYPTIAN | SIGN | SIGNWRITING | COMPONENT | WITH | ARABIC | SYLLABICS | SYMBOL | LATIN | CANADIAN | ANATOLIAN | LIGATURE | COMBINING | TANGUT | ETHIOPIC | CYRILLIC | MUSICAL | DIGIT | HANGUL | LINEAR | VOWEL | TIMES | BAMUM | RADICAL | CIRCLED | VARIATION | DOUBLE | ARROW | BYZANTINE | PHASE | ITALIC | FORM / => "").comb.Bag.sort(*.value).map(*.say)
9 => 477
8 => 640
7 => 740
6 => 918
5 => 1028
4 => 1091
3 => 1251
Q => 1269
Z => 1383
J => 1435
1 => 1503
2 => 1668
X => 1751
0 => 2718
V => 4432
- => 4546
W => 4666
Y => 5306
F => 5598
B => 7334
K => 7580
P => 7645
C => 10228
G => 10633
M => 11319
U => 11823
D => 13239
H => 15236
S => 15842
L => 16366
T => 21482
O => 21581
R => 22028
N => 23569
I => 28202
E => 33906
A => 42416
=> 85787
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment