awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
comby-tools avatar

comby-tools/comby

0
View on GitHub↗
2,657 stars·74 forks·OCaml·Apache-2.0·14 viewscomby.dev↗

Comby

Comby is a command-line utility designed for structural code search and transformation across diverse programming languages. It functions as a code transformation engine that identifies and modifies source code patterns by utilizing syntax-aware templates, ensuring that operations respect language boundaries such as nested blocks, strings, and comments.

The tool distinguishes itself by mapping various programming languages to a unified structural representation, allowing for consistent pattern matching that ignores irrelevant whitespace and formatting. It performs these operations by executing search and replacement tasks through a state machine that validates structural integrity, enabling precise modifications while preserving the original indentation and stylistic conventions of the source files.

Beyond simple search and replace, the tool supports large-scale codebase migrations and automated refactoring by applying project-wide syntax updates. Users can verify these modifications through an interactive terminal interface, which allows for the inspection and selective reconciliation of changes before they are committed to the filesystem.

Features

  • Code Transformation Engines - Functions as a code transformation engine that matches and modifies source code patterns using structural templates.
  • Structural Code Searchers - Identifies specific code patterns across multiple files using syntax-aware matching.
  • Automated Code Refactoring - Automates large-scale code refactoring and syntax updates across multiple files.
  • Structural Pattern Matching - Matches code patterns by parsing syntax boundaries into abstract templates that ignore irrelevant whitespace.
  • Syntax Abstractions - Maps diverse programming languages to a unified structural representation for consistent pattern matching.
  • Recursive Descent Parsers - Uses recursive descent parsing to isolate code blocks from comments and strings during structural analysis.
  • Interactive Change Reviewers - Provides a terminal interface for inspecting and selectively reconciling code changes before committing.
  • Change Review Interfaces - Displays suggested modifications in a terminal interface for selective review and acceptance.
  • Code Refactoring Tools - Provides a command-line utility for syntax-aware search and replace operations across multiple languages.
  • Source Code Mutators - Modifies source files directly on disk while preserving original indentation and stylistic conventions.
  • Large-Scale Code Migrations - Supports large-scale codebase migrations by applying project-wide syntax updates.
  • Structural Matching State Machines - Executes search operations by traversing a state machine that validates structural integrity against templates.
  • Syntax-Aware Transformation Engines - Modifies code structures using templates that understand language syntax to ensure safety.

Star history

Star history chart for comby-tools/combyStar history chart for comby-tools/comby

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Comby

Similar open-source projects, ranked by how many features they share with Comby.
  • openrewrite/rewriteopenrewrite avatar

    openrewrite/rewrite

    3,312View on GitHub↗

    OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework

    Javaabstract-syntax-treeastcode-search
    View on GitHub↗3,312
  • biomejs/gritqlbiomejs avatar

    biomejs/gritql

    4,530View on GitHub↗

    GritQL is an AST-based code transformation engine and structural search tool. It uses a declarative query language to identify and rewrite source code patterns across multiple programming languages by matching abstract syntax tree nodes rather than literal text. The system functions as an automated refactoring framework for large-scale migrations and API updates. It distinguishes itself by utilizing sequential transformation pipelines and reusable blueprints that can be synced between local environments and remote repositories. The tool covers a broad range of capabilities including static a

    Rustastcodemodjavascript
    View on GitHub↗4,530
  • ast-grep/ast-grepast-grep avatar

    ast-grep/ast-grep

    12,522View on GitHub↗

    ast-grep is a command-line utility and static analysis engine designed for searching, linting, and refactoring source code. It operates by identifying and transforming code blocks based on their underlying syntactic structure rather than relying on text-based or regular expression matching. The tool utilizes a language-agnostic abstraction to normalize diverse programming grammars into a unified tree structure. By employing a rule-driven engine, it allows users to define complex patterns that capture syntax nodes as variables, enabling consistent and syntactically valid modifications across e

    Rustastbabelcodemod
    View on GitHub↗12,522
  • rectorphp/rectorrectorphp avatar

    rectorphp/rector

    10,199View on GitHub↗

    Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize syntax using predefined rules. It functions as a static analysis engine that inspects code structures and types to identify refactoring targets without executing the code. The project provides a framework for defining custom transformation logic to automate project-specific changes. It distinguishes itself by offering specialized capabilities for migrating legacy or custom frameworks to modern alternatives and converting docblock annotations into native language attributes. The s

    PHPastautomated-upgradesinstant-upgrades
    View on GitHub↗10,199
See all 30 alternatives to Comby→

Frequently asked questions

What does comby-tools/comby do?

Comby is a command-line utility designed for structural code search and transformation across diverse programming languages. It functions as a code transformation engine that identifies and modifies source code patterns by utilizing syntax-aware templates, ensuring that operations respect language boundaries such as nested blocks, strings, and comments.

What are the main features of comby-tools/comby?

The main features of comby-tools/comby are: Code Transformation Engines, Structural Code Searchers, Automated Code Refactoring, Structural Pattern Matching, Syntax Abstractions, Recursive Descent Parsers, Interactive Change Reviewers, Change Review Interfaces.

What are some open-source alternatives to comby-tools/comby?

Open-source alternatives to comby-tools/comby include: openrewrite/rewrite — OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic… biomejs/gritql — GritQL is an AST-based code transformation engine and structural search tool. It uses a declarative query language to… ast-grep/ast-grep — ast-grep is a command-line utility and static analysis engine designed for searching, linting, and refactoring source… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… analysis-tools-dev/static-analysis — This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into…

Curated searches featuring Comby

Hand-picked collections where Comby appears.
  • Modern Unix Command Line Replacements
  • Command Line Interface Tools
  • Developer Tools