Back to browse
GitHub Repository

AST-native code refactor without LLMs, but for LLMs

6 starsRust

Patchwork, AST-native sed without LLMs

by thatxliner·May 6, 2026·2 points·0 comments

AI Analysis

●●●BangerBig BrainNiche Gem

AST-native sed that handles nested brackets better than regex ever could.

Strengths
  • Single 3MB binary with zero Python runtime dependencies makes it easy to pipe.
  • Rust-style repetition syntax ($($name)sep*) solves multi-line pattern matching elegantly.
  • Strict name matching prevents accidental replacements that plague regex-based tools.
Weaknesses
  • Purely CLI-focused with no LSP or VS Code extension limits interactive usage.
  • Supports only 5 languages compared to ast-grep's 25+ ecosystem.
Target Audience

Backend developers and DevOps engineers writing refactoring scripts

Similar To

ast-grep · Comby · Semgrep

Similar Projects

Developer Tools●●●Banger

Local, privacy-first MCP code intelligence in Rust

AST-aware codebase search and onboarding beats grep, ships as local MCP server.

Big BrainSolve My ProblemWizardry
avirajkhare
103mo ago
Developer Tools●●Solid

Noodles – Turn any codebase into a diagram with Claude and Tree-sitter

Tree-sitter + agentic flow ~50x faster than raw LLM calls, but codebase visualization is crowded category.

Solve My ProblemShip It
unslop
603mo ago