awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टMCP सर्वरहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेस
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ast-grep avatar

ast-grep/ast-grep

0
View on GitHub↗
12,522 स्टार्स·318 फोर्क्स·Rust·mit·9 व्यूज़ast-grep.github.io↗

Ast Grep

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 entire codebases.

This framework supports large-scale refactoring, automated codebase migrations, and the enforcement of custom static analysis rules. It maintains performance during analysis by leveraging incremental parsing to process source code efficiently. The project is distributed as a command-line interface for integration into development workflows and automation pipelines.

Features

  • Static Analysis Engines - Acts as a framework for performing large-scale codebase modifications that ensures all changes remain syntactically valid and contextually accurate.
  • Abstract Syntax Tree Tools - Provides a command-line utility for searching, linting, and refactoring source code using structural patterns that respect the underlying syntax tree.
  • Code Transformation Engines - "Replaces matched code segments by binding captured syntax nodes to variables and injecting them into new templates during the transformation process."
  • Structural Code Searchers - Identifies and transforms code blocks based on their syntactic structure rather than simple text or regular expressions.
  • Automated Code Refactoring - Modifies code structures across large projects using pattern matching to ensure transformations remain syntactically valid and contextually accurate.
  • Search and Discovery - A tool for code structural search, linting and rewriting.
  • System Utilities - CLI for structural code search and rewriting.
  • Static Analysis Rules - Defines and applies custom linting rules to identify and fix problematic code patterns or security vulnerabilities throughout a software project.
  • Automated Migration Codemods - Updates legacy code structures or deprecated library APIs across an entire project by matching patterns and applying consistent transformations.
  • Pattern Matching Libraries - Matches code structures by comparing user-defined patterns against syntax tree nodes to identify specific logical constructs.
  • Syntax Parsing Engines - Converts source code into a concrete syntax tree using an incremental parsing library that maintains high performance during large-scale analysis.
  • Rule Engines - Executes complex refactoring operations by chaining multiple pattern-matching rules and conditional logic to ensure consistent code updates.
  • Syntax Abstractions - Normalizes diverse programming language grammars into a unified tree structure to allow cross-language pattern matching and refactoring.

स्टार हिस्ट्री

ast-grep/ast-grep के लिए स्टार हिस्ट्री चार्टast-grep/ast-grep के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Ast Grep के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Ast Grep के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • comby-tools/combycomby-tools का अवतार

    comby-tools/comby

    2,657GitHub पर देखें↗

    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 executin

    OCamlcgojava
    GitHub पर देखें↗2,657
  • biomejs/gritqlbiomejs का अवतार

    biomejs/gritql

    4,530GitHub पर देखें↗

    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
    GitHub पर देखें↗4,530
  • phpstan/phpstanphpstan का अवतार

    phpstan/phpstan

    13,999GitHub पर देखें↗

    This project is a static analysis engine and type checker designed for PHP codebases. It evaluates source code structure and type annotations to identify potential bugs, type mismatches, and logic errors without executing the application. By parsing code into an abstract syntax tree and applying a rule-based validation framework, it enforces code quality and safety standards across a project. What distinguishes this tool is its sophisticated type inference engine, which models dynamic language features, magic methods, and conditional types to maintain accuracy even in unconventional code. It

    PHPphpphp7phpstan
    GitHub पर देखें↗13,999
  • analysis-tools-dev/static-analysisanalysis-tools-dev का अवतार

    analysis-tools-dev/static-analysis

    14,389GitHub पर देखें↗

    This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It serves as a central resource for developers to discover, compare, and select tools based on specific programming languages, licensing models, and integration requirements. The directory distinguishes itself by providing deep metadata for each listed utility, including community-driven popularity rankings, maintenance status, and deployment methods. By aggregating these tools into a single searchable index, it enables teams to identify solutions for enforcing coding standards, ma

    Rustanalysisawesome-listcode-quality
    GitHub पर देखें↗14,389
Ast Grep के सभी 30 विकल्प देखें→

अक्सर पूछे जाने वाले प्रश्न

ast-grep/ast-grep क्या करता है?

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.

ast-grep/ast-grep की मुख्य विशेषताएं क्या हैं?

ast-grep/ast-grep की मुख्य विशेषताएं हैं: Static Analysis Engines, Abstract Syntax Tree Tools, Code Transformation Engines, Structural Code Searchers, Automated Code Refactoring, Search and Discovery, System Utilities, Static Analysis Rules।

ast-grep/ast-grep के कुछ ओपन-सोर्स विकल्प क्या हैं?

ast-grep/ast-grep के ओपन-सोर्स विकल्पों में शामिल हैं: comby-tools/comby — Comby is a command-line utility designed for structural code search and transformation across diverse programming… biomejs/gritql — GritQL is an AST-based code transformation engine and structural search tool. It uses a declarative query language to… phpstan/phpstan — This project is a static analysis engine and type checker designed for PHP codebases. It evaluates source code… analysis-tools-dev/static-analysis — This project is a comprehensive, curated directory of static analysis, linting, and security scanning utilities. It… babel/babel — Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize…