← Back to tools

srgn

A code surgeon for precise text and code transplantation using tree-sitter

Text Processing Development linuxmacoswindows Rust MIT

Description

srgn is a code surgeon for precise text and code transplantation. It combines the capabilities of tr/sed, ripgrep, and tree-sitter to enable language-aware search and replace operations on source code.

AI Summary

Language-aware search and replace tool combining tr/sed, ripgrep, and tree-sitter for precise code manipulation

Capabilities

  • + Perform language-aware search and replace
  • + Use tree-sitter for AST-based code targeting
  • + Combine regex matching with code structure awareness
  • + Support multiple programming languages

Use When

  • When you need language-aware search and replace
  • When refactoring code with structural awareness
View AGENTS.md for srgn