HomeAboutCodePastes
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordieggsy <dieggsy@protonmail.com>2020-12-17 17:06:12 -0500
committerdieggsy <dieggsy@protonmail.com>2020-12-17 17:06:12 -0500
commit0782f9edc93e56dc94fac21a30ae1fbda3711e45 (patch)
tree2f1ba33b1d7b4ccbe56e8e9d63685008159b7dea
parent22c1c79349b989a8668a9a76887239abeae2ea21 (diff)
downloadicu-0782f9edc93e56dc94fac21a30ae1fbda3711e45.tar.gz
Add to wiki
-rw-r--r--icu.svnwiki132
1 files changed, 132 insertions, 0 deletions
diff --git a/icu.svnwiki b/icu.svnwiki
index ff6e74e..22d2888 100644
--- a/icu.svnwiki
+++ b/icu.svnwiki
@@ -97,3 +97,135 @@ digit character according to Java.
Binding for {{u_isxdigit}}. Determines whether the specified code point is a
hexadecimal digit.
+
+=== Operators and transformers
+
+<procedure>(char-mirror char)</procedure>
+
+Binding for {{u_charMirror}}. Maps the specified character to a "mirror-image"
+character.
+
+<procedure>(char-bidi-paired-pracket)</procedure>
+
+Binding for {{u_getBidiPairedBracket}}. Maps the specified character to its
+paired bracket character.
+
+<procedure>(char->lower char)</procedure>
+<procedure>(char->upper char)</procedure>
+<procedure>(char->title char)</procedure>
+
+Bindings for {{u_tolower}},{{u_toupper}}, and {{u_totitle}}
+
+=== Properties
+
+<procedure>(char-category char)</procedure>
+
+Binding for {{u_charType}}. Returns the general category value for the code
+point (an integer, see below).
+
+You can convert this to a symbol with {{category->integer}}, and vice versa
+with {{integer->category}}
+
+Categories:
+<enscript>
+category/unassigned
+category/uppercase-letter
+category/lowercase-letter
+category/titlecase-letter
+category/modifier-letter
+category/other-letter
+category/non-spacing-mark
+category/enclosing-mark
+category/combining-spacing-mark
+category/decimal-digit-number
+category/letter-number
+category/other-number
+category/space-separator
+category/line-separator
+category/paragraph-separator
+category/control-char
+category/format-char
+category/private-use-char
+category/surrogate
+category/dash-punctuation
+category/start-punctuation
+category/end-punctuation
+category/connector-punctuation
+category/other-punctuation
+category/math-symbol
+category/currency-symbol
+category/modifier-symbol
+category/other-symbol
+category/initial-punctuation
+category/final-punctuation
+category/char-category-count
+</enscript>
+
+<procedure>(char-direction char)</procedure>
+
+Binding for {{u_charDirection}}. Returns the bidirectional category value for
+the code point, which is used in the Unicode bidirectional algorithm (an
+integer, see below).
+
+You can convert this to a symbol with {{direction->integer}}, and vice versa
+with {{integer->direction}}
+
+Directions:
+<enscript>
+direction/left-to-right
+direction/right-to-left
+direction/european-number
+direction/european-number-separator
+direction/european-number-terminator
+direction/arabic-number
+direction/common-number-separator
+direction/block-separator
+direction/segment-separator
+direction/white-space-neutral
+direction/other-neutral
+direction/left-to-right-embedding
+direction/left-to-right-override
+direction/right-to-left-arabic
+direction/right-to-left-embedding
+direction/right-to-left-override
+direction/pop-directional-format
+direction/dir-non-spacing-mark
+direction/boundary-neutral
+direction/first-strong-isolate
+direction/left-to-right-isolate
+direction/right-to-left-isolate
+direction/pop-directional-isolate
+direction/char-direction-count
+</enscript>
+
+<procedure>(char-combining-class char)</procedure>
+
+Binding for {{u_getCombiningClass}}. Returns the combining class of the code
+point as specified in UnicodeData.txt.
+
+=== Predicates
+
+<enscript>
+char-mirrored?
+char-ualphabetic?
+char-ulowercase?
+char-uuppercase?
+char-uwhitespace?
+char-whitespace?
+char-java-space?
+char-space?
+char-blank?
+char-lower?
+char-upper?
+char-digit?
+char-alpha?
+char-alnum?
+char-xdigit?
+char-punct?
+char-graph?
+char-defined?
+char-cntrl?
+char-iso-control?
+char-print?
+char-base?
+</enscript>