Small scripts. A shared open-source library.
Explore scripts created and reviewed by OpenViST for AI, agents, blockchain and crypto. Understand each task, check its sources and download the open examples for your own environment.
79 recipes found.
Rust
Locate trailing spaces and tabs in text lines with Rust
Find retained lines ending in ASCII space or tab without trimming other Unicode whitespace.
Open recipe → Rust · v0.1.0 · OriginalMeasure UTF-8 byte and scalar widths of text lines with Rust
Report storage length and Unicode scalar count per nonempty line without confusing either measure with display width.
Open recipe → Rust · v0.1.0 · OriginalPartition bounded integers by parity with Rust
Separate even and odd values while preserving order and duplicates within each partition.
Open recipe → Rust · v0.1.0 · OriginalCount set bits in canonical unsigned 32-bit values with Rust
Report population counts for supplied decimal integers without confusing textual digits with binary representation.
Open recipe → Rust · v0.1.0 · OriginalDecode lowercase hexadecimal octet lines with Rust
Convert two-character hexadecimal tokens into ordered byte values without interpreting them as text.
Open recipe → Rust · v0.1.0 · OriginalCompute signed deltas between adjacent integers with Rust
Measure consecutive changes with subtraction in a signed type so decreases remain negative.
Open recipe → Rust · v0.1.0 · OriginalCount consecutive runs of equal text lines with Rust
Summarize consecutive repetition lengths without merging occurrences separated by another token.
Open recipe → Rust · v0.1.0 · OriginalCount ASCII letter digit whitespace and other bytes with Rust
Summarize an ASCII stream into four disjoint character classes without echoing its content.
Open recipe → Rust · v0.1.0 · OriginalDistinguish LF CRLF and bare CR endings with Rust
Count newline representations in supplied text while treating CRLF as one paired ending.
Open recipe → Rust · v0.1.0 · OriginalCount literal equals signs per text line with Rust
Measure delimiter occurrences without interpreting quoted values or assignment syntax.
Open recipe → Rust · v0.1.0 · OriginalBuild sorted integer frequency tables with Rust
Count repeated bounded numeric values and arrange their counts by numeric key.
Open recipe → Rust · v0.1.0 · OriginalCheck literal bracket nesting in text lines with Rust
Validate matched round square and curly brackets while treating all other scalars as ordinary text.
Open recipe →Adjustable code previews are assembled locally in your browser. Running the downloaded examples requires your own environment and, where applicable, a provider account.
A recipe has a history
Every example records its sources, scope of testing and version. New versions are imported after their code and instructions are checked.
Explore the project directory and documented task routes for the wider context.
