unicode vocabulary
Factor handbook > Vocabulary index


Documentation
Unicode support

Meta-data
Tags:text
Authors:Daniel Ehrenberg


Words

Predicate classes
ClassSuperclass
LETTER integer
Letter integer
alpha integer
blank integer
character integer
control integer
digit integer
letter integer
math integer
printable integer
uncased integer


Ordinary words
WordStack effect
>case-fold( string -- fold )
>graphemes( str -- graphemes )
>lower( string -- lower )
>title( string -- title )
>upper( string -- upper )
>words( str -- words )
capitalize( string -- title )
case-fold?( string -- ? )
ch>lower( ch -- lower )
ch>title( ch -- title )
ch>upper( ch -- upper )
char>name( char -- name )
collation-key( string -- key )
first-grapheme( str -- i )
first-grapheme-from( start str -- i )
first-word( str -- i )
first-word-from( start str -- i )
last-grapheme( str -- i )
last-grapheme-from( end str -- i )
last-word( str -- i )
last-word-from( end str -- i )
lower?( string -- ? )
name>char( name -- char )
nfc( string -- nfc )
nfd( string -- nfd )
nfkc( string -- nfkc )
nfkd( string -- nfkd )
primary=( str1 str2 -- ? )
quaternary=( str1 str2 -- ? )
script-of( char -- script )
secondary=( str1 str2 -- ? )
sort-strings( strings -- sorted )
string-append( s1 s2 -- string )
string-reverse( str -- rts )
string<=>( str1 str2 -- <=> )
tertiary=( str1 str2 -- ? )
title?( string -- ? )
upper?( string -- ? )
w/collation-key( str -- {str,key} )
word-break-at?( i str -- ? )


Class predicate words
WordStack effect
LETTER?( object -- ? )
Letter?( object -- ? )
alpha?( object -- ? )
blank?( object -- ? )
character?( object -- ? )
control?( object -- ? )
digit?( object -- ? )
letter?( object -- ? )
math?( object -- ? )
printable?( object -- ? )
uncased?( object -- ? )


Files


Children from resource:basis
VocabularySummary
unicode.breaksUnicode grapheme and word breaking
unicode.caseUnicode case conversion
unicode.categoriesParsing words used by Unicode implementation
unicode.collationUnicode string comparison and sorting (collation)
unicode.dataParsing Unicode data files
unicode.normalizeUnicode string normalization
unicode.scriptReads the UCD to get the script of a code point


Children
VocabularySummary
unicode.privateunicode.private vocabulary