unicode vocabulary
Factor handbook ยป Vocabulary index


Documentation
Unicode support

Metadata
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/nfd( string -- key nfd )
count-graphemes( str -- n )
first-grapheme( entire-str start -- 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 -- ? )
under-surrogate?( ch -- ? )
unicode-supported( -- value )
unicode-unsupported( -- value )
unicode-version( -- value )
upper-surrogate?( ch -- ? )
upper?( string -- ? )
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


Metadata 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.control-pictures
unicode.dataParsing Unicode data files
unicode.normalizeUnicode string normalization
unicode.scriptReads the UCD to get the script of a code point


Children from resource:extra
VocabularySummary
unicode.flagsUnicode country flags


Children
VocabularySummary
unicode.private