Skip to main content

Module text_and_collections

Module text_and_collections 

Source
Expand description

VibeScript v0.02 (vibe-0.2) Text Processing, Linear-Time Thompson NFA Regex, Immutable Collections & Core Data Structures (str.*, regex.*, list.*, deque.*, pqueue.*, set.*).

Directory-backed library structure (AGENTS.md §0-B):

  • grapheme_str: UAX #29 extended grapheme cluster strings (str.*)
  • linear_regex: Stateless $O(n)$ non-backtracking Thompson NFA regex (regex.*)
  • collections: Immutable collections, natural sort, seeded shuffle, deque, priority queue, and structural-value sets (list.*, deque.*, pqueue.*, set.*)

Re-exports§

pub use grapheme_str::split_graphemes;

Modules§

collections
Immutable-by-Default Collections, Type-Aware Natural Sorting, Seeded Fisher-Yates Shuffle, Double-Ended Queue (deque.*), Priority Queue (pqueue.*), and Structural Sets (set.*).
grapheme_str
Unicode UAX #29 Extended Grapheme Cluster String Operations (str.*).
linear_regex
Stateless Linear-Time $O(n)$ Non-Backtracking Thompson NFA Regular Expression Engine (regex.*).

Constants§

TEXT_AND_COLLECTIONS_BINDINGS
All stdlib v2 binding paths handled by text_and_collections.

Functions§

call_text_and_collections
Route a str.*, regex.*, list.*, deque.*, pqueue.*, or set.* call.