Claude Building a Bash Parser

Using Claude Code on autopilot to build a bash AST parser in Rust, driven by Parable’s test suite. The result: rable, a 99.9%-accurate parser that outperforms tree-sitter-bash across 1,783 test cases.

March 25, 2026 · 5 min · 915 words · Matjaž Domen Pečan

tokF a Different Approach to Token Compression

tokF is a configurable CLI output filter built in Rust that uses TOML pipelines to strip, extract, and compress command output before it hits an LLM — achieving 90% token reduction in real-world use.

February 20, 2026 · 7 min · 1411 words · Matjaž Domen Pečan

Finding Duplicate Rust Code Through AST Normalization (Part 1)

Building a cargo subcommand that detects duplicate Rust code by normalizing ASTs - replacing names with placeholders, erasing literals, and fingerprinting the structural skeleton.

February 14, 2026 · 7 min · 1333 words · Matjaž Domen Pečan