tur/r7rs/unicode
the Unicode tables behind (scheme char) for #lang r7rs.
GENERATED by tools/gen-r7rs-unicode.py -- do not edit; regenerate. The C below is also src/turi/r7rs_unicode.inc, which the interpreter compiles in and registers as natives over these four wrappers.
Since: r7rs-lang-plan R10
r7rs-uc-map__
(r7rs-uc-map__ [cp :int op :int] :int)
internal: simple case mapping of a codepoint (op 0 upper, 1 lower, 2 fold, 3 title).
r7rs-uc-prop__
(r7rs-uc-prop__ [cp :int op :int] :int)
internal: 1/0 for alphabetic, upper, lower, whitespace (op 0-3); op 4 is the digit value of an Nd character or -1; op 5 and 6 are CommonMark's Unicode whitespace and punctuation (stdlib/unicode.tur).
r7rs-uc-string__
(r7rs-uc-string__ [s :cstr op :int] :cstr)
internal: full case mapping of a UTF-8 string (op 0 upper, 1 lower, 2 fold).
r7rs-uc-run__
(r7rs-uc-run__ [which :int i :int field :int] :int)
internal: run i of SRFI 14 standard set which (field 0 its first code point, 1 its last, 2 its stride; -1 past the end).