Skip to main content

arb/
lib.rs

1//! arb — visualize and modify Unix pipelines.
2//!
3//! The crate is a lib + bin: the language front-end (lexer/parser/interpreter)
4//! lives here so it is unit-testable without a terminal; the `arb` binary
5//! (`src/main.rs`) wires it to stdin and the ratatui render loop.
6//!
7//! M1 scope: the Tcl-flavored reader, the declarative widget/`source` subset,
8//! and rendering `text`/`tail`/`list` widgets fed from stdin. The expression
9//! layer, fusevm lowering, query verbs, and the rest of SPEC.md are later
10//! milestones — not stubbed here as if present.
11
12pub mod actor;
13pub mod algo;
14pub mod ast;
15pub mod banner;
16pub mod cache;
17/// `cli` submodule: the command line, callable as a library.
18pub mod cli;
19pub mod dap;
20pub mod embed;
21pub mod err;
22pub mod expr;
23pub mod fzf;
24/// `hosted` submodule: running arb inside another process.
25pub mod hosted;
26pub mod jq;
27pub mod jqlang;
28pub mod jqval;
29pub mod jsondocs;
30pub mod jvparse;
31pub mod lexer;
32pub mod lsp;
33pub mod parser;
34pub mod pattern;
35pub mod pkg;
36pub mod pty;
37pub mod query;
38pub mod repl;
39pub mod rust_ffi;
40pub mod serve;
41pub mod sniff;
42pub mod spec;
43pub mod stream;
44pub mod testrun;
45pub mod theme;
46pub mod tiers;
47pub mod tui;
48pub mod web;
49pub mod xpath;
50pub mod xpath_eval;
51pub mod xpath_syntax;
52pub mod yaml;
53pub mod ynode;
54pub mod yqfmt;
55
56pub use embed::run_program;