streplts package
streplts package
Section titled “streplts package”High-performance interactive Read-Eval-Print Loop (REPL) and custom execution shell engine.
Remarks
Section titled “Remarks”Provides a modular infrastructure for constructing command-line terminal applications. Features advanced sub-namespace resolution, context-aware command auto-completion pipelines, safe isolated sandboxed execution layers, and multi-line buffer history managers with dynamic console UI overlays.
Classes
Section titled “Classes”|
Class |
Description |
|---|---|
|
Isolated sandboxed evaluation scope running calculations via core V8 VM contexts. | |
|
Core command resolution hierarchical routing dictionary structure. | |
|
Primary stateful orchestrator managing terminal streams, inputs, UI rendering, and script evaluation. |
Functions
Section titled “Functions”|
Function |
Description |
|---|---|
|
Functional utility constructing typed and structured command option values. | |
|
buildSelectionLine(flashPrompt, input, range, ghostStr, hintStr, registry, jsMode, context, globals) | |
|
Tokenizes, checks syntax paths, and colorizes input lines with full ANSI tags. | |
|
Extracts the final contiguous word segment token from an input text sequence line. | |
|
Decorates a string sequence with a targeted ANSI formatting prefix color and clear reset code. | |
|
Scans, processes, and extracts eligible auto-complete string arrays based on input strings. | |
|
Identifies and isolates missing arguments definitions remaining to satisfy commands. | |
|
Inspects isolated VM object models to compute predictive JavaScript property keys. | |
|
High-performance file path completion builder mapping real directory systems onto option choices. | |
|
render(state, registry, promptStr, jsMode, opts, stdout, context, globals) |
Draws the active terminal state line and overlay menus onto the output stream. |
|
Halts pipeline execution workflows for a designated duration span. | |
|
Removes all embedded ANSI terminal color format escape codes from a text segment. | |
|
Asserts structural grammar validation, verifying sub-namespaces and ensuring all required parameters are specified. | |
|
Traverses a segmented phrase chain down hierarchical branch namespaces. |
Interfaces
Section titled “Interfaces”|
Interface |
Description |
|---|---|
|
Structural definition specifying configuration and validation metadata for a command parameter. | |
|
Common base descriptor shared across all command nodes within the execution hierarchy. | |
|
Canonical model format maintained within internal registration map storage definitions. | |
|
Complete specification for a leaf execution target containing operational hooks and terminal arguments. | |
|
Nested structural boundary housing child executable commands or secondary sub-namespaces. | |
|
Structural definition specifying configurations for unordered option flags or switches. | |
|
UI visual overrides applied on rendering operations. | |
|
Configuration options required to instantiate a interactive terminal REPL runtime environment instance. | |
|
Data store monitoring cursor tracking, buffer inputs, and selection state offsets inside an active session. |
Variables
Section titled “Variables”|
Variable |
Description |
|---|---|
|
Collection of ANSI terminal text color escape sequences. * | |
|
Standard mapping collection identifying specialized input stream key sequences. * |
Type Aliases
Section titled “Type Aliases”|
Type Alias |
Description |
|---|---|
|
Union definition representing either a direct execution target or a structural namespace node. |