Browse Kotlin Multiplatform libraries
index data from klibs.ioDetects text character encodings robustly using a line-by-line, streaming algorithm; faithful transliteration of an established implementation, aiming feature parity and an idiomatic native API.
Regular-expression engine with deterministic worst-case performance, avoids backreferences/look-around, supports named captures, byte-oriented APIs, RegexSet multi-pattern scanning, iterators, and exposed internals/parser.
Syntax highlighting for Compose UIs using tree-sitter with an incremental engine for editor-grade performance; material bindings, editable highlighted text field, selectable viewer, and language modules.
Compact, sorted-range representation of character sets enabling fast membership checks, set algebra (union/intersect/difference/invert), and deterministic partitioning via topology-based refinement for parsers, lexers, automata.
Cursor-based character input layer for parsers, offering lookahead, mark/reset, source positions, span capture, in-memory and streaming inputs, plus small default token parsers (identifiers, quoted strings, whitespace, decimals).
Dependency-light utilities rendering Java-style escaped strings and characters with configurable quote handling, char-class friendly escapes for [] and -, Unicode/control escape forms, and truncation with suffix.
Port of the ANTLR v4 runtime translating Java sources into a portable implementation, enabling ANTLR-generated parsers; runtime API parity work ongoing.