Expand description
Interscript::Stdlib parity: alias fragments, boundary semantics
and the stage-level functions (upcase, separate, compose, …).
Structs§
- Funcall
- Stage-level function calls (
rule(:string_case_directive),separate_directive, …).to-sideupcase/downcasein sub rules are handled by the matcher, not here.
Enums§
- Funcall
Name - Prim
- Zero-width and character-class primitives reachable from the ISC
grammar (
zw_primitiverule) plus the Stdlib aliases they resolve to. Values mirrorInterscript::Stdlib::ALIASES.
Functions§
- downcase_
per_ word Interscript::Stdlib::Functions.downcasewith word_separator — same whole-match downcasing.- is_
ruby_ word_ char - Onigmo’s UTF-8 word-char definition (what Ruby
\band\Bconsult — NOT\w, which is ASCII-only): the Unicode Word property = Alphabetic (L* + Nl) | Mark (Mn/Mc/Me) | Nd | Pc, PLUS the explicit ZWNJ/ZWJ additions (U+200C, U+200D) Onigmo special-cases — verified empirically against Ruby (a letter+ZWNJ pair is NOT a boundary).stdexposes no general categories, hence unicode-general-category. - title_
case Interscript::Stdlib::Functions.title_case:gsub(/^(.)/, &:upcase)thengsub(/#{word_separator}(.)/, &:upcase)— the block upcases the WHOLE match (separator included), so the replacement for a matchsep + chis(sep + ch).to_uppercase.- unsupported_
funcall - The funcalls that need external engines; unsupported in this slice.