OpenViSTAI · Agents · Blockchain · Crypto
Menu
OPENVIST RECIPES

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

Rust · v0.1.0 · Original

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 · Original

Measure 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 · Original

Partition 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 · Original

Count 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 · Original

Decode 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 · Original

Compute 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 · Original

Count 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 · Original

Count 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 · Original

Distinguish 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 · Original

Count literal equals signs per text line with Rust

Measure delimiter occurrences without interpreting quoted values or assignment syntax.

Open recipe →
Rust · v0.1.0 · Original

Build sorted integer frequency tables with Rust

Count repeated bounded numeric values and arrange their counts by numeric key.

Open recipe →
Rust · v0.1.0 · Original

Check 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.