Apply structural codemods across large codebases with Comby は何をしますか?
Rewrite recurring code patterns with syntax-aware matching so agents can run migration codemods more safely than plain regex search and replace.
Prerequisites
Comby CLI
Installation
Use the upstream install or setup path that matches your environment:
- docker run -a stdin -a stdout -a stderr -i comby/comby '(:[emoji] hi)' 'bye :[emoji]' lisp -stdin <<< '(👋 hi)'
- git clone https://github.com/comby-tools/comby
- make
- make test
Requirements and caveats from upstream:
-
Docker
- docker pull comby/comby
Basic usage or getting-started notes:
-
See the usage documentation.
-
A short example below shows how comby simplifies matching and rewriting compared to regex approaches like sed.
-
Mac OS X
-
Extracted from upstream docs: https://raw.githubusercontent.com/comby-tools/comby/HEAD/README.md